From: Andre Przywara Date: Thu, 21 Feb 2019 01:30:34 +0000 Subject: [U-Boot] [PATCH 9/9] sunxi: H6: add generic H6 32-bit SPL defconfig In-Reply-To: <20190221013034.9099-1-andre.przywara@arm.com> References: <20190221013034.9099-1-andre.przywara@arm.com> Message-ID: <20190221013034.9099-10-andre.przywara@arm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de To be able to use FEL booting (Allwinner's USB-OTG protocol), we need a 32 bit SPL, to easily return into the 32 bit BootROM. Add a generic defconfig for that purpose, that should work on all boards. The resulting spl/sunxi-spl.bin can be used with the sunxi-fel tool to initialise the DRAM via FEL. This allows to load the normal versions for the rest of the firmware components (ATF, 64 bit U-Boot proper). This SPL will determine the architecture of the loaded binaries and will switch the bitness if necessary. Signed-off-by: Andre Przywara --- configs/sun50i-h6-lpddr3-spl_defconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 configs/sun50i-h6-lpddr3-spl_defconfig diff --git a/configs/sun50i-h6-lpddr3-spl_defconfig b/configs/sun50i-h6-lpddr3-spl_defconfig new file mode 100644 index 0000000000..8480d027a5 --- /dev/null +++ b/configs/sun50i-h6-lpddr3-spl_defconfig @@ -0,0 +1,12 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_SPL=y +CONFIG_MACH_SUN50I_H6=y +CONFIG_SUNXI_ARMV8_32BIT_BUILD=y +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +CONFIG_NR_DRAM_BANKS=1 +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +# CONFIG_CMD_FLASH is not set +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +CONFIG_DEFAULT_DEVICE_TREE="sun50i-h6-pine-h64" -- 2.14.5