Skip to content

Commit

Permalink
configs: Use old hush for several boards
Browse files Browse the repository at this point in the history
The keymile board family is not compatible with modern hush parser.
Indeed, This boards used set_local_var() to store some variables as local shell.
They then used get_local_var() to retrieve the variables values.
Sadly, this two functions do not exist with CONFIG_HUSH_MODERN_PARSER.
A patch was proposed to use environment variables rather than local variables
but it does not tackle the problem, so complementary work is needed to make
this boards use CONFIG_HUSH_MODERN_PARSER.

Also, with CONFIG_HUSH_MODERN_PARSER, kirkwoord sheevaplug and phytec bk4r1 hit
their board limits, so better to stick with old hush.

Cc: Holger Brunck <[email protected]>
Link: https://marc.info/?l=u-boot&m=165541917618725&w=2
Signed-off-by: Francis Laniel <[email protected]>
  • Loading branch information
Francis Laniel committed Dec 7, 2023
1 parent 74da2f6 commit 9ba857f
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions configs/kmcent2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,4 @@ CONFIG_BCH=y
CONFIG_PANIC_HANG=y
CONFIG_LZO=y
CONFIG_POST=y
CONFIG_HUSH_OLD_PARSER=y
1 change: 1 addition & 0 deletions configs/kmcoge5ne_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,4 @@ CONFIG_QE=y
CONFIG_SYS_NS16550=y
CONFIG_BCH=y
CONFIG_POST=y
CONFIG_HUSH_OLD_PARSER=y
1 change: 1 addition & 0 deletions configs/kmeter1_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,4 @@ CONFIG_DM_ETH_PHY=y
CONFIG_QE_UEC=y
CONFIG_QE=y
CONFIG_SYS_NS16550=y
CONFIG_HUSH_OLD_PARSER=y
1 change: 1 addition & 0 deletions configs/kmopti2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,4 @@ CONFIG_QE_UEC=y
# CONFIG_PINCTRL_FULL is not set
CONFIG_QE=y
CONFIG_SYS_NS16550=y
CONFIG_HUSH_OLD_PARSER=y
1 change: 1 addition & 0 deletions configs/kmsupx5_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,4 @@ CONFIG_QE_UEC=y
# CONFIG_PINCTRL_FULL is not set
CONFIG_QE=y
CONFIG_SYS_NS16550=y
CONFIG_HUSH_OLD_PARSER=y
1 change: 1 addition & 0 deletions configs/kmtepr2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,4 @@ CONFIG_QE_UEC=y
# CONFIG_PINCTRL_FULL is not set
CONFIG_QE=y
CONFIG_SYS_NS16550=y
CONFIG_HUSH_OLD_PARSER=y
1 change: 1 addition & 0 deletions configs/pg_wcom_expu1_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CONFIG_DM_SERIAL=y
CONFIG_SYS_NS16550=y
CONFIG_LZO=y
CONFIG_POST=y
CONFIG_HUSH_OLD_PARSER=y
1 change: 1 addition & 0 deletions configs/pg_wcom_expu1_update_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,4 @@ CONFIG_DM_SERIAL=y
CONFIG_SYS_NS16550=y
CONFIG_LZO=y
CONFIG_POST=y
CONFIG_HUSH_OLD_PARSER=y
1 change: 1 addition & 0 deletions configs/pg_wcom_seli8_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ CONFIG_DM_SERIAL=y
CONFIG_SYS_NS16550=y
CONFIG_LZO=y
CONFIG_POST=y
CONFIG_HUSH_OLD_PARSER=y
1 change: 1 addition & 0 deletions configs/pg_wcom_seli8_update_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,4 @@ CONFIG_DM_SERIAL=y
CONFIG_SYS_NS16550=y
CONFIG_LZO=y
CONFIG_POST=y
CONFIG_HUSH_OLD_PARSER=y
1 change: 1 addition & 0 deletions configs/socfpga_secu1_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,4 @@ CONFIG_DESIGNWARE_WATCHDOG=y
CONFIG_WDT=y
CONFIG_SYS_TIMER_COUNTS_DOWN=y
# CONFIG_GZIP is not set
CONFIG_HUSH_OLD_PARSER=y
1 change: 1 addition & 0 deletions configs/tuge1_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,4 @@ CONFIG_QE_UEC=y
# CONFIG_PINCTRL_FULL is not set
CONFIG_QE=y
CONFIG_SYS_NS16550=y
CONFIG_HUSH_OLD_PARSER=y
1 change: 1 addition & 0 deletions configs/tuxx1_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,4 @@ CONFIG_QE_UEC=y
# CONFIG_PINCTRL_FULL is not set
CONFIG_QE=y
CONFIG_SYS_NS16550=y
CONFIG_HUSH_OLD_PARSER=y

0 comments on commit 9ba857f

Please sign in to comment.