From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baruch Siach Date: Wed, 15 Jan 2020 09:08:09 +0200 Subject: [PATCH v3 2/3] arm: mvebu: clearfog: set uboot image SD card offset In-Reply-To: <64d8ffc3379ce93437113d8f6df513fa6d46e8c3.1579072090.git.baruch@tkos.co.il> References: <64d8ffc3379ce93437113d8f6df513fa6d46e8c3.1579072090.git.baruch@tkos.co.il> Message-ID: <66cc6f0acc87aa657bb44dbeb2915e4b4243851b.1579072090.git.baruch@tkos.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Armada 38x ROM skips the first SD card offset when loading SPL. This affects the location of the main U-Boot image. SPL MMC code now supports U-Boot image offset based on run-time detection of the boot partition. Use this feature to make the same generated image support both SD card and eMMC boot partition. Signed-off-by: Baruch Siach --- v3: Rebase on top of http://patchwork.ozlabs.org/patch/1205597/ v2: No change --- configs/clearfog_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig index 10c39e34fb6e..b48a4abfcb9e 100644 --- a/configs/clearfog_defconfig +++ b/configs/clearfog_defconfig @@ -26,7 +26,7 @@ CONFIG_USE_PREBOOT=y CONFIG_SYS_CONSOLE_INFO_QUIET=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y -CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x141 +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_DATA_PART_OFFSET=0x1 CONFIG_SPL_DM_GPIO=y CONFIG_SPL_I2C_SUPPORT=y # CONFIG_CMD_FLASH is not set -- 2.24.1