[U-Boot] [PATCH] imx: mx7dsabresd: consolidate BOOT_FROM

Peng Fan van.freenix at gmail.com
Thu Aug 11 08:09:26 CEST 2016


To i.MX7, different boot medias' IVT offset is fixed at 0x400.
So consolidate BOOT_FROM to use FLASH_OFFSET_STANDARD.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
Cc: Stefano Babic <sbabic at denx.de>
---
 board/freescale/mx7dsabresd/imximage.cfg | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/board/freescale/mx7dsabresd/imximage.cfg b/board/freescale/mx7dsabresd/imximage.cfg
index 76574ff..7314316 100644
--- a/board/freescale/mx7dsabresd/imximage.cfg
+++ b/board/freescale/mx7dsabresd/imximage.cfg
@@ -16,11 +16,8 @@
 
 IMAGE_VERSION 2
 
-/*
- * Boot Device : sd
- */
-
-BOOT_FROM	sd
+/* valid for various boot medias */
+BOOT_FROM	FLASH_OFFSET_STANDARD
 
 /*
  * Secure boot support
-- 
2.6.2



More information about the U-Boot mailing list