mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
55dabcc8f2
First, we convert CONFIG_SYS_I2C_LEGACY to Kconfig. Next, as you cannot have SYS_I2C_LEGACY and DM_I2C at the same time, introduce CONFIG_SPL_SYS_I2C_LEGACY so that we can enable the legacy option only in SPL. Finally, for some PowerPC cases we also need CONFIG_TPL_SYS_I2C_LEGACY support. Convert all of the existing users to one or more symbols. Signed-off-by: Tom Rini <trini@konsulko.com>
66 lines
1.8 KiB
Text
66 lines
1.8 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_SYS_DCACHE_OFF=y
|
|
CONFIG_ARCH_CPU_INIT=y
|
|
CONFIG_ARCH_KIRKWOOD=y
|
|
CONFIG_SYS_TEXT_BASE=0x07d00000
|
|
CONFIG_TARGET_KM_KIRKWOOD=y
|
|
CONFIG_KM_FPGA_CONFIG=y
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_OFFSET=0x0
|
|
CONFIG_DEFAULT_DEVICE_TREE="kirkwood-km_kirkwood"
|
|
CONFIG_BOOTCOUNT_BOOTLIMIT=3
|
|
CONFIG_ENV_OFFSET_REDUND=0x2000
|
|
CONFIG_IDENT_STRING="\nHitachi Power Grids Kirkwood PCI"
|
|
CONFIG_SYS_EXTRA_OPTIONS="KM_KIRKWOOD_PCI"
|
|
CONFIG_AUTOBOOT_KEYED=y
|
|
CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
|
|
CONFIG_AUTOBOOT_STOP_STR=" "
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_MISC_INIT_R=y
|
|
CONFIG_HUSH_PARSER=y
|
|
# CONFIG_BOOTM_NETBSD is not set
|
|
# CONFIG_BOOTM_PLAN9 is not set
|
|
# CONFIG_BOOTM_RTEMS is not set
|
|
# CONFIG_BOOTM_VXWORKS is not set
|
|
CONFIG_CMD_ASKENV=y
|
|
CONFIG_CMD_GREPENV=y
|
|
CONFIG_CMD_EEPROM=y
|
|
CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
|
|
CONFIG_SYS_EEPROM_PAGE_WRITE_BITS=6
|
|
CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=10
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_NAND=y
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=orion_nand"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=orion_nand:-(ubi0);"
|
|
CONFIG_CMD_UBI=y
|
|
# CONFIG_CMD_UBIFS is not set
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_EEPROM=y
|
|
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_NETCONSOLE=y
|
|
CONFIG_BOOTCOUNT_LIMIT=y
|
|
CONFIG_BOOTCOUNT_RAM=y
|
|
CONFIG_SYS_I2C_LEGACY=y
|
|
CONFIG_SYS_I2C_SOFT=y
|
|
CONFIG_SYS_I2C_SOFT_SLAVE=0x0
|
|
CONFIG_SYS_I2C_MVTWSI=y
|
|
CONFIG_SYS_I2C_EEPROM_ADDR=0x50
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_SF_DEFAULT_SPEED=8100000
|
|
CONFIG_SPI_FLASH_MACRONIX=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_MVGBE=y
|
|
CONFIG_MII=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_SPI=y
|
|
CONFIG_KIRKWOOD_SPI=y
|
|
CONFIG_BCH=y
|