[U-Boot] [linux-sunxi] [PATCH] sunxi: move CONFIG_SYS_TEXT_BASE out of defconfigs

Chen-Yu Tsai wens at csie.org
Mon Feb 19 03:04:03 UTC 2018


On Mon, Feb 19, 2018 at 9:44 AM, Andre Przywara <andre.przywara at arm.com> wrote:
> Commit 278b90ce786f ("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 value (160MB into DRAM) if ARCH_SUNXI is selected,
> and delete the lines from the individual defconfigs.

I suppose we could do the same for A80 with

    default 0x2a000000 if ARCH_SUNXI && MACH_SUN9I

before the standard sunxi one? AFAIK that would work.

Thanks
ChenYu

> This leaves the few exceptions (three A80 boards and the LicheePi Zero)
> alone, their defconfig value simply overrides the default.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>


More information about the U-Boot mailing list