sunxi: move CONFIG_SYS_SPI_U_BOOT_OFFS out of defconfig
authorAndre Przywara <andre.przywara@arm.com>
Mon, 6 Jan 2020 01:29:10 +0000 (01:29 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Jan 2020 17:36:56 +0000 (23:06 +0530)
commit671d64fe352244374e8aa27186e7b8055446cb6b
tree1d085e04be6a6ebf1b90b80170a361b7e2c8ea40
parent043c65b793648e810533b5fc28336a9ebefa2830
sunxi: move CONFIG_SYS_SPI_U_BOOT_OFFS out of defconfig

For Allwinner SoCs the CONFIG_SYS_SPI_U_BOOT_OFFS value is not really a
board choice: The boot ROM only loads the SPL from offset 0 of the SPI
NOR flash, and loads at most 32KB. This is a similar situation as on MMC,
so consequently we create our "joint" image (SPL + U-Boot proper) with
that 32KB offset during the build.

So define the value of this symbol to be 32KB by default for every
Allwinner SoC. This removes the definition of this symbol from the
_defconfig files, and avoids every board to define this over and over
again.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
common/spl/Kconfig
configs/A20-OLinuXino-Lime2-eMMC_defconfig
configs/oceanic_5205_5inmfd_defconfig
configs/orangepi_pc2_defconfig
configs/orangepi_r1_defconfig
configs/orangepi_win_defconfig
configs/orangepi_zero_defconfig
configs/pine64-lts_defconfig
configs/sopine_baseboard_defconfig