mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-03 11:23:22 +09:00
![Andre Przywara](/assets/img/avatar_default.png)
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>
27 lines
656 B
Plaintext
27 lines
656 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_MACH_SUN7I=y
|
|
CONFIG_DRAM_CLK=432
|
|
CONFIG_MACPWR="PH23"
|
|
CONFIG_MMC0_CD_PIN="PH10"
|
|
CONFIG_SATAPWR="PB3"
|
|
CONFIG_GMAC_TX_DELAY=4
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-lamobo-r1"
|
|
CONFIG_AHCI=y
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_SPL=y
|
|
CONFIG_SPL_I2C_SUPPORT=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
# CONFIG_SPL_DOS_PARTITION is not set
|
|
# CONFIG_SPL_ISO_PARTITION is not set
|
|
# CONFIG_SPL_EFI_PARTITION is not set
|
|
CONFIG_SCSI_AHCI=y
|
|
CONFIG_B53_SWITCH=y
|
|
CONFIG_B53_PHY_PORTS=0x1f
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_RGMII=y
|
|
CONFIG_SUN7I_GMAC=y
|
|
CONFIG_SCSI=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|