mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
08574ed339
This converts the following to Kconfig: CONFIG_SYS_MONITOR_LEN To do this, we set a default of 0 for everyone because there are a number of cases where we define CONFIG_SYS_MONITOR_LEN but the only impact is that we set TOTAL_MALLOC_LEN to be CONFIG_SYS_MALLOC_LEN + CONFIG_ENV_SIZE, so we must continue to allow all boards to set this value. Update the SPL code to use 200 KB as the default raw U-Boot size directly, if we don't have a real CONFIG_SYS_MONITOR_LEN value. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
34 lines
995 B
Text
34 lines
995 B
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun5i-gr8-chip-pro"
|
|
CONFIG_SPL=y
|
|
CONFIG_MACH_SUN5I=y
|
|
CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y
|
|
CONFIG_USB0_VBUS_PIN="PB10"
|
|
CONFIG_SYS_MONITOR_LEN=786432
|
|
CONFIG_SPL_I2C=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nand0=sunxi-nand.0"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=sunxi-nand.0:256k(spl),256k(spl-backup),2m(uboot),2m(uboot-backup),-(UBI)"
|
|
CONFIG_ENV_IS_IN_UBI=y
|
|
CONFIG_ENV_UBI_PART="UBI"
|
|
CONFIG_ENV_UBI_VOLUME="uboot-env"
|
|
CONFIG_SYS_I2C_MVTWSI=y
|
|
CONFIG_SYS_I2C_SLAVE=0x7f
|
|
CONFIG_SYS_I2C_SPEED=400000
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_SYS_MAX_NAND_DEVICE=8
|
|
CONFIG_SYS_NAND_BLOCK_SIZE=0x40000
|
|
CONFIG_SYS_NAND_ONFI_DETECTION=y
|
|
CONFIG_SYS_NAND_PAGE_SIZE=0x1000
|
|
CONFIG_SYS_NAND_OOBSIZE=0x100
|
|
CONFIG_AXP_ALDO3_VOLT=3300
|
|
CONFIG_AXP_ALDO4_VOLT=3300
|
|
CONFIG_CONS_INDEX=2
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_MUSB_GADGET=y
|
|
CONFIG_USB_FUNCTION_MASS_STORAGE=y
|