mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
341c058654
Commit 278b90ce78
("configs: Migrate CONFIG_SYS_TEXT_BASE") made
CONFIG_SYS_TEXT_BASE a proper Kconfig variable, with the consequence
of moving the common definition shared by almost every sunxi board
into 123 individual defconfig files. But the U-Boot start address
for Allwinner boards is a platform decision which has been around for
ages, so defining it in each *board* config file seems a bit over the
top.
Define the standard values (160MB into DRAM for most SoCs, with two
SoC exceptions) if ARCH_SUNXI is selected, and delete the lines from
the individual defconfigs.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
25 lines
838 B
Text
25 lines
838 B
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_SPL_NAND_SUPPORT=y
|
|
CONFIG_MACH_SUN5I=y
|
|
CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y
|
|
CONFIG_USB0_VBUS_PIN="PB10"
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun5i-gr8-chip-pro"
|
|
CONFIG_SYS_EXTRA_OPTIONS="SYS_NAND_BLOCK_SIZE=0x40000,SYS_NAND_PAGE_SIZE=4096,SYS_NAND_OOBSIZE=256"
|
|
CONFIG_SPL=y
|
|
CONFIG_SPL_I2C_SUPPORT=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
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_MMC is not set
|
|
CONFIG_NAND=y
|
|
CONFIG_NAND_SUNXI=y
|
|
CONFIG_AXP_ALDO3_VOLT=3300
|
|
CONFIG_AXP_ALDO4_VOLT=3300
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_MUSB_GADGET=y
|
|
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|
|
CONFIG_USB_FUNCTION_MASS_STORAGE=y
|