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>
30 lines
812 B
Plaintext
30 lines
812 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_MACH_SUN8I_A83T=y
|
|
CONFIG_DRAM_TYPE=7
|
|
CONFIG_DRAM_CLK=480
|
|
CONFIG_DRAM_ZQ=15355
|
|
CONFIG_DRAM_ODT_EN=y
|
|
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
|
CONFIG_INITIAL_USB_SCAN_DELAY=500
|
|
CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE"
|
|
CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
|
|
CONFIG_USB0_ID_DET="PH11"
|
|
CONFIG_USB1_VBUS_PIN="PD24"
|
|
CONFIG_AXP_GPIO=y
|
|
CONFIG_SATAPWR="PD25"
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-bananapi-m3"
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_CONSOLE_MUX=y
|
|
CONFIG_SPL=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_AXP_DCDC5_VOLT=1200
|
|
CONFIG_AXP_DLDO3_VOLT=2500
|
|
CONFIG_AXP_SW_ON=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_MUSB_HOST=y
|
|
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|