summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2013-06-24 15:47:34 +0800
committerJason Liu <r64343@freescale.com>2013-06-24 19:29:51 +0800
commitd150aa79b12e630434e2c3748f00bdc19d6584ce (patch)
treee00d8bb1ab6d0f4cdb9cf9b4ca6d208a1e0da480
parent8db786c17a0174b7d4766dc9e4aa7fe1e3ef75b8 (diff)
downloadu-boot-imx-d150aa79b12e630434e2c3748f00bdc19d6584ce.zip
u-boot-imx-d150aa79b12e630434e2c3748f00bdc19d6584ce.tar.gz
u-boot-imx-d150aa79b12e630434e2c3748f00bdc19d6584ce.tar.bz2
ENGR00268402 mx6dl:sabreauto:nor-boot: fix eim-nor boot
Should not gate emi_slow clock if boot from NOR flash and Set the eim-nor flash header correctly Signed-off-by: Jason Liu <r64343@freescale.com>
-rw-r--r--board/freescale/mx6qsabreauto/mx6dl.cfg16
1 files changed, 13 insertions, 3 deletions
diff --git a/board/freescale/mx6qsabreauto/mx6dl.cfg b/board/freescale/mx6qsabreauto/mx6dl.cfg
index d68a992..83034b8 100644
--- a/board/freescale/mx6qsabreauto/mx6dl.cfg
+++ b/board/freescale/mx6qsabreauto/mx6dl.cfg
@@ -27,13 +27,23 @@
*/
/* image version */
+#define __ASSEMBLY__
+#include <config.h>
+
IMAGE_VERSION 2
/*
- * Boot Device : one of
- * spi, sd (the board has no nand neither onenand)
+ * Boot Device : one of spi, sd, eimnor:
+ * spinor: flash_offset: 0x0400
+ * sd/mmc: flash_offset: 0x0400
+ * eimnor: flash_offset: 0x1000
*/
+
+#if defined(CONFIG_SYS_BOOT_EIMNOR)
+BOOT_FROM nor
+#else
BOOT_FROM sd
+#endif
/*
* Device Configuration Data (DCD)
@@ -137,7 +147,7 @@ DATA 4, 0x020c4070, 0x0FFFC000
DATA 4, 0x020c4074, 0x3FF00000
DATA 4, 0x020c4078, 0x00FFF300
DATA 4, 0x020c407c, 0x0F0000C3
-DATA 4, 0x020c4080, 0x000003FF
+DATA 4, 0x020c4080, 0x00000FFF
/* enable AXI cache for VDOA/VPU/IPU */
DATA 4, 0x020e0010, 0xF00000CF