u-boot-cubox-i: Fix SD offset to align with mainline value

The intended value was 69K but the sector number was wrong, fix it to
proper value as it aligns it with U-Boot mainline.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2014-12-03 15:44:45 -02:00
parent e1085deb3d
commit e68e569ce7
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,32 @@
From 64aa2dafcde88f3bdeabe7a8c335b05587b5db5e Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Wed, 3 Dec 2014 14:47:09 -0200
Subject: [PATCH] imx6: Fix SD offset to align with mainline value
Organization: O.S. Systems Software LTDA.
The intended value was 69K but the sector number was wrong, fix it to
proper value as it aligns it with U-Boot mainline.
Upstream-Status: Pending
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
include/configs/imx6_spl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h
index 4f8efd3..f2ad031 100644
--- a/include/configs/imx6_spl.h
+++ b/include/configs/imx6_spl.h
@@ -40,7 +40,7 @@
/* #define CONFIG_SPL_SATA_SUPPORT */
#define CONFIG_SPL_MMC_SUPPORT
-#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 84 /* offset 69KB */
+#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 138 /* offset 69KB */
#define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR 0 /* offset 69KB */
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR 0 /* offset 69KB */
#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS 0 /* offset 69KB */
--
2.1.1

View File

@ -10,6 +10,7 @@ PV = "v2013.10+git${SRCPV}"
SRCREV = "a06fada55acffacfc9ea174a6980b5bce76a2aeb"
SRC_URI = " \
git://github.com/SolidRun/u-boot-imx6.git;branch=imx6 \
file://0001-imx6-Fix-SD-offset-to-align-with-mainline-value.patch \
file://uEnv.txt \
"