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>
23 lines
710 B
Plaintext
23 lines
710 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_MACH_SUN4I=y
|
|
CONFIG_DRAM_CLK=408
|
|
CONFIG_DRAM_EMR1=4
|
|
CONFIG_USB0_VBUS_PIN="PB9"
|
|
CONFIG_USB0_VBUS_DET="PH5"
|
|
CONFIG_USB0_ID_DET="PH4"
|
|
CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:24,pclk_khz:33000,le:45,ri:209,up:22,lo:22,hs:1,vs:1,sync:3,vmode:0"
|
|
CONFIG_VIDEO_LCD_POWER="PH8"
|
|
CONFIG_VIDEO_LCD_BL_EN="PH7"
|
|
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-inet97fv2"
|
|
# 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_USB_MUSB_HOST=y
|
|
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|