diff options
author | Andre Przywara <andre.przywara@arm.com> | 2020-01-06 01:29:10 +0000 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2020-01-24 23:06:56 +0530 |
commit | 671d64fe352244374e8aa27186e7b8055446cb6b (patch) | |
tree | 1d085e04be6a6ebf1b90b80170a361b7e2c8ea40 /configs/orangepi_pc2_defconfig | |
parent | 043c65b793648e810533b5fc28336a9ebefa2830 (diff) | |
download | u-boot-671d64fe352244374e8aa27186e7b8055446cb6b.tar.gz u-boot-671d64fe352244374e8aa27186e7b8055446cb6b.tar.bz2 u-boot-671d64fe352244374e8aa27186e7b8055446cb6b.zip |
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>
Diffstat (limited to 'configs/orangepi_pc2_defconfig')
-rw-r--r-- | configs/orangepi_pc2_defconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/orangepi_pc2_defconfig b/configs/orangepi_pc2_defconfig index 3d65b87d33..20209ec41b 100644 --- a/configs/orangepi_pc2_defconfig +++ b/configs/orangepi_pc2_defconfig @@ -10,7 +10,6 @@ CONFIG_MACPWR="PD6" CONFIG_SPL_SPI_SUNXI=y # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set CONFIG_USE_PREBOOT=y -CONFIG_SYS_SPI_U_BOOT_OFFS=0x8000 # CONFIG_SPL_DOS_PARTITION is not set # CONFIG_SPL_EFI_PARTITION is not set CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-orangepi-pc2" |