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>
29 lines
919 B
Plaintext
29 lines
919 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_MACH_SUN7I=y
|
|
CONFIG_DRAM_CLK=408
|
|
CONFIG_MMC0_CD_PIN="PH1"
|
|
CONFIG_MMC1_CD_PIN="PH2"
|
|
CONFIG_MMC1_PINS="PH"
|
|
CONFIG_MMC_SUNXI_SLOT_EXTRA=1
|
|
CONFIG_USB0_VBUS_PIN="PB9"
|
|
CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
|
|
CONFIG_AXP_GPIO=y
|
|
CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:24,pclk_khz:63000,le:32,ri:287,up:22,lo:12,hs:1,vs:1,sync:3,vmode:0"
|
|
CONFIG_VIDEO_LCD_DCLK_PHASE=0
|
|
CONFIG_VIDEO_LCD_POWER="PH8"
|
|
CONFIG_VIDEO_LCD_BL_EN="PH7"
|
|
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="sun7i-a20-yones-toptech-bd1078"
|
|
# 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
|