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>
25 lines
799 B
Plaintext
25 lines
799 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_MACH_SUN4I=y
|
|
CONFIG_DRAM_EMR1=4
|
|
CONFIG_USB0_VBUS_PIN="PB09"
|
|
CONFIG_USB0_VBUS_DET="PH5"
|
|
CONFIG_USB1_VBUS_PIN=""
|
|
CONFIG_USB2_VBUS_PIN="PH6"
|
|
CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:18,pclk_khz:51000,le:45,ri:274,up:22,lo:12,hs:1,vs:1,sync:3,vmode:0"
|
|
CONFIG_VIDEO_LCD_POWER="PH2"
|
|
CONFIG_VIDEO_LCD_BL_EN="PH9"
|
|
CONFIG_VIDEO_LCD_BL_PWM="PB2"
|
|
# CONFIG_VIDEO_LCD_BL_PWM_ACTIVE_LOW is not set
|
|
CONFIG_VIDEO_LCD_PANEL_LVDS=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-hyundai-a7hd"
|
|
# 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
|