mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
2a58783f94
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 <holger.brunck@hitachienergy.com> Link: https://marc.info/?l=u-boot&m=165541917618725&w=2 Signed-off-by: Francis Laniel <francis.laniel@amarulasolutions.com>
186 lines
4.9 KiB
Text
186 lines
4.9 KiB
Text
CONFIG_PPC=y
|
|
CONFIG_TEXT_BASE=0xF0000000
|
|
CONFIG_ENV_SOURCE_FILE="km83xx"
|
|
CONFIG_ENV_SIZE=0x4000
|
|
CONFIG_ENV_SECT_SIZE=0x20000
|
|
CONFIG_DEFAULT_DEVICE_TREE="kmtuxa1"
|
|
CONFIG_SYS_MONITOR_LEN=786432
|
|
CONFIG_BOOTCOUNT_BOOTLIMIT=3
|
|
CONFIG_SYS_CLK_FREQ=66000000
|
|
CONFIG_SYS_LOAD_ADDR=0x100000
|
|
CONFIG_ENV_ADDR=0xF00C0000
|
|
CONFIG_MPC83xx=y
|
|
CONFIG_HIGH_BATS=y
|
|
CONFIG_SYS_INIT_RAM_LOCK=y
|
|
CONFIG_TARGET_TUXX1=y
|
|
CONFIG_CORE_PLL_RATIO_25_1=y
|
|
CONFIG_QUICC_MULT_FACTOR_3=y
|
|
CONFIG_BOOT_MEMORY_SPACE_LOW=y
|
|
CONFIG_BOOT_ROM_INTERFACE_GPCM_16BIT=y
|
|
CONFIG_BAT0=y
|
|
CONFIG_BAT0_NAME="SDRAM"
|
|
CONFIG_BAT0_BASE=0x00000000
|
|
CONFIG_BAT0_LENGTH_256_MBYTES=y
|
|
CONFIG_BAT0_ACCESS_RW=y
|
|
CONFIG_BAT0_ICACHE_INHIBITED=y
|
|
CONFIG_BAT0_DCACHE_INHIBITED=y
|
|
CONFIG_BAT0_DCACHE_GUARDED=y
|
|
CONFIG_BAT0_USER_MODE_VALID=y
|
|
CONFIG_BAT0_SUPERVISOR_MODE_VALID=y
|
|
CONFIG_BAT1=y
|
|
CONFIG_BAT1_NAME="IMMR"
|
|
CONFIG_BAT1_BASE=0xE0000000
|
|
CONFIG_BAT1_LENGTH_4_MBYTES=y
|
|
CONFIG_BAT1_ACCESS_RW=y
|
|
CONFIG_BAT1_ICACHE_INHIBITED=y
|
|
CONFIG_BAT1_DCACHE_INHIBITED=y
|
|
CONFIG_BAT1_DCACHE_GUARDED=y
|
|
CONFIG_BAT1_USER_MODE_VALID=y
|
|
CONFIG_BAT1_SUPERVISOR_MODE_VALID=y
|
|
CONFIG_BAT2=y
|
|
CONFIG_BAT2_NAME="KMBEC_FPGA"
|
|
CONFIG_BAT2_BASE=0xE8000000
|
|
CONFIG_BAT2_LENGTH_128_MBYTES=y
|
|
CONFIG_BAT2_ACCESS_RW=y
|
|
CONFIG_BAT2_ICACHE_MEMORYCOHERENCE=y
|
|
CONFIG_BAT2_DCACHE_INHIBITED=y
|
|
CONFIG_BAT2_DCACHE_GUARDED=y
|
|
CONFIG_BAT2_USER_MODE_VALID=y
|
|
CONFIG_BAT2_SUPERVISOR_MODE_VALID=y
|
|
CONFIG_BAT3=y
|
|
CONFIG_BAT3_NAME="FLASH"
|
|
CONFIG_BAT3_BASE=0xF0000000
|
|
CONFIG_BAT3_LENGTH_256_MBYTES=y
|
|
CONFIG_BAT3_ACCESS_RW=y
|
|
CONFIG_BAT3_ICACHE_MEMORYCOHERENCE=y
|
|
CONFIG_BAT3_DCACHE_INHIBITED=y
|
|
CONFIG_BAT3_DCACHE_GUARDED=y
|
|
CONFIG_BAT3_USER_MODE_VALID=y
|
|
CONFIG_BAT3_SUPERVISOR_MODE_VALID=y
|
|
CONFIG_BAT4=y
|
|
CONFIG_BAT4_NAME="STACK_IN_DCACHE"
|
|
CONFIG_BAT4_BASE=0xE6000000
|
|
CONFIG_BAT4_ACCESS_RW=y
|
|
CONFIG_BAT4_USER_MODE_VALID=y
|
|
CONFIG_BAT4_SUPERVISOR_MODE_VALID=y
|
|
CONFIG_BAT5=y
|
|
CONFIG_BAT5_NAME="APP1"
|
|
CONFIG_BAT5_BASE=0xA0000000
|
|
CONFIG_BAT5_LENGTH_256_MBYTES=y
|
|
CONFIG_BAT5_ACCESS_RW=y
|
|
CONFIG_BAT5_ICACHE_MEMORYCOHERENCE=y
|
|
CONFIG_BAT5_DCACHE_INHIBITED=y
|
|
CONFIG_BAT5_DCACHE_GUARDED=y
|
|
CONFIG_BAT5_USER_MODE_VALID=y
|
|
CONFIG_BAT5_SUPERVISOR_MODE_VALID=y
|
|
CONFIG_BAT6=y
|
|
CONFIG_BAT6_NAME="APP2"
|
|
CONFIG_BAT6_BASE=0xB0000000
|
|
CONFIG_BAT6_LENGTH_256_MBYTES=y
|
|
CONFIG_BAT6_ACCESS_RW=y
|
|
CONFIG_BAT6_ICACHE_MEMORYCOHERENCE=y
|
|
CONFIG_BAT6_DCACHE_INHIBITED=y
|
|
CONFIG_BAT6_DCACHE_GUARDED=y
|
|
CONFIG_BAT6_USER_MODE_VALID=y
|
|
CONFIG_BAT6_SUPERVISOR_MODE_VALID=y
|
|
CONFIG_LBLAW0=y
|
|
CONFIG_LBLAW0_BASE=0xF0000000
|
|
CONFIG_LBLAW0_NAME="FLASH"
|
|
CONFIG_LBLAW0_LENGTH_256_MBYTES=y
|
|
CONFIG_LBLAW1=y
|
|
CONFIG_LBLAW1_BASE=0xE8000000
|
|
CONFIG_LBLAW1_NAME="KMBEC_FPGA"
|
|
CONFIG_LBLAW1_LENGTH_128_MBYTES=y
|
|
CONFIG_LBLAW2=y
|
|
CONFIG_LBLAW2_BASE=0xA0000000
|
|
CONFIG_LBLAW2_NAME="APP1"
|
|
CONFIG_LBLAW2_LENGTH_256_MBYTES=y
|
|
CONFIG_LBLAW3=y
|
|
CONFIG_LBLAW3_BASE=0xB0000000
|
|
CONFIG_LBLAW3_NAME="APP2"
|
|
CONFIG_LBLAW3_LENGTH_256_MBYTES=y
|
|
CONFIG_HID0_FINAL_EMCP=y
|
|
CONFIG_HID0_FINAL_ICE=y
|
|
CONFIG_HID2_HBE=y
|
|
CONFIG_ACR_PIPE_DEP_4=y
|
|
CONFIG_ACR_RPTCNT_4=y
|
|
CONFIG_ACR_APARK_MASTER=y
|
|
CONFIG_ACR_PARKM_USB_I2C1_BOOT=y
|
|
CONFIG_LCRR_EADC_1=y
|
|
CONFIG_LCRR_CLKDIV_2=y
|
|
CONFIG_83XX_PCICLK=0x3ef1480
|
|
# CONFIG_PCI is not set
|
|
CONFIG_AUTOBOOT_KEYED=y
|
|
CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
|
|
CONFIG_AUTOBOOT_STOP_STR=" "
|
|
CONFIG_OF_BOARD_SETUP=y
|
|
CONFIG_OF_STDOUT_VIA_ALIAS=y
|
|
CONFIG_BOARD_EARLY_INIT_R=y
|
|
# CONFIG_HWCONFIG is not set
|
|
CONFIG_LAST_STAGE_INIT=y
|
|
CONFIG_MISC_INIT_R=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_MAXARGS=32
|
|
CONFIG_SYS_CBSIZE=512
|
|
CONFIG_SYS_PBSIZE=532
|
|
CONFIG_SYS_BOOTM_LEN=0x2000000
|
|
CONFIG_CMD_IMLS=y
|
|
CONFIG_CMD_ASKENV=y
|
|
CONFIG_CMD_GREPENV=y
|
|
CONFIG_CMD_EEPROM=y
|
|
CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=3
|
|
CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=10
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_LOADS_ECHO=y
|
|
CONFIG_SYS_LOADS_BAUD_CHANGE=y
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_BOOTP_BOOTFILESIZE=y
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_JFFS2=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nor0=boot"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=boot:768k(u-boot),128k(env),128k(envred),-(ubi0);"
|
|
CONFIG_CMD_UBI=y
|
|
# CONFIG_CMD_UBIFS is not set
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_ENV_ADDR_REDUND=0xF00E0000
|
|
CONFIG_USE_ETHPRIME=y
|
|
CONFIG_ETHPRIME="UEC0"
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_BOOTCOUNT_LIMIT=y
|
|
CONFIG_DM_BOOTCOUNT=y
|
|
CONFIG_BOOTCOUNT_MEM=y
|
|
CONFIG_SYS_BR0_PRELIM_BOOL=y
|
|
CONFIG_SYS_BR0_PRELIM=0xF0001001
|
|
CONFIG_SYS_OR0_PRELIM=0xF0000E55
|
|
CONFIG_SYS_BR1_PRELIM_BOOL=y
|
|
CONFIG_SYS_BR1_PRELIM=0xE8000801
|
|
CONFIG_SYS_OR1_PRELIM=0xF8000E25
|
|
CONFIG_SYS_BR2_PRELIM_BOOL=y
|
|
CONFIG_SYS_BR2_PRELIM=0xA0000801
|
|
CONFIG_SYS_OR2_PRELIM=0xF0000C25
|
|
CONFIG_SYS_BR3_PRELIM_BOOL=y
|
|
CONFIG_SYS_BR3_PRELIM=0xB0000801
|
|
CONFIG_SYS_OR3_PRELIM=0xF0000E24
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_SYS_I2C_FSL=y
|
|
CONFIG_I2C_MUX=y
|
|
CONFIG_I2C_MUX_PCA954x=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_NOR_FLASH=y
|
|
CONFIG_FLASH_CFI_DRIVER=y
|
|
CONFIG_FLASH_SHOW_PROGRESS=0
|
|
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
|
CONFIG_FLASH_CFI_MTD=y
|
|
CONFIG_SYS_FLASH_PROTECTION=y
|
|
CONFIG_SYS_FLASH_CFI=y
|
|
CONFIG_PHY_SMSC=y
|
|
CONFIG_DM_ETH_PHY=y
|
|
CONFIG_QE_UEC=y
|
|
# CONFIG_PINCTRL_FULL is not set
|
|
CONFIG_QE=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_HUSH_OLD_PARSER=y
|