summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNitin Garg <nitin.garg@freescale.com>2014-02-17 18:15:07 -0600
committerNitin Garg <nitin.garg@freescale.com>2014-02-17 18:15:07 -0600
commitaae173a7cb32a02abb5e7e9433ce22c9f012b4d8 (patch)
tree8a60c9692e8c26ffab6998d5e5754320ef33f5a7
parent488cabaec4d96723bb48d7926def411f5b9b6040 (diff)
downloadu-boot-imx-aae173a7cb32a02abb5e7e9433ce22c9f012b4d8.zip
u-boot-imx-aae173a7cb32a02abb5e7e9433ce22c9f012b4d8.tar.gz
u-boot-imx-aae173a7cb32a02abb5e7e9433ce22c9f012b4d8.tar.bz2
ENGR00298503-3: Add iMX6sx 17x17 validation board QSPI2 boot
Adding support to boot i.MX6SoloX 17x17 validation board from QuadSPI2 Micron flash. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
-rw-r--r--boards.cfg1
-rw-r--r--tools/imximage.c1
-rw-r--r--tools/imximage.h3
3 files changed, 4 insertions, 1 deletions
diff --git a/boards.cfg b/boards.cfg
index dc6892e..5efc567 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -289,6 +289,7 @@ mx6slevk arm armv7 mx6slevk freesca
mx6slevk_spinor arm armv7 mx6slevk freescale mx6 mx6slevk:IMX_CONFIG=board/freescale/mx6slevk/imximage.cfg,MX6SL,SYS_BOOT_SPINOR
mx6slevkandroid arm armv7 mx6slevk freescale mx6 mx6slevk:IMX_CONFIG=board/freescale/mx6slevk/imximage.cfg,MX6SL,SYS_USE_SPINOR,ANDROID_SUPPORT
mx6sx_17x17_arm2 arm armv7 mx6sx_17x17_arm2 freescale mx6 mx6sx_17x17_arm2:IMX_CONFIG=board/freescale/mx6sx_17x17_arm2/imximage.cfg,MX6SX
+mx6sx_17x17_arm2_qspi2 arm armv7 mx6sx_17x17_arm2 freescale mx6 mx6sx_17x17_arm2:IMX_CONFIG=board/freescale/mx6sx_17x17_arm2/imximage.cfg,MX6SX,SYS_BOOT_QSPI
eco5pk arm armv7 eco5pk 8dtech omap3
nitrogen6dl arm armv7 nitrogen6x boundary mx6 nitrogen6x:IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6dl.cfg,MX6DL,DDR_MB=1024
nitrogen6dl2g arm armv7 nitrogen6x boundary mx6 nitrogen6x:IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6dl2g.cfg,MX6DL,DDR_MB=2048
diff --git a/tools/imximage.c b/tools/imximage.c
index 1e7c0f6..1a4a503 100644
--- a/tools/imximage.c
+++ b/tools/imximage.c
@@ -55,6 +55,7 @@ static table_entry_t imximage_bootops[] = {
{FLASH_OFFSET_SATA, "sata", "SATA Disk", },
{FLASH_OFFSET_SD, "sd", "SD Card", },
{FLASH_OFFSET_SPI, "spi", "SPI Flash", },
+ {FLASH_OFFSET_QSPI, "qspi", "QSPI Flash", },
{-1, "", "Invalid", },
};
diff --git a/tools/imximage.h b/tools/imximage.h
index 0c46c70..9e2005a 100644
--- a/tools/imximage.h
+++ b/tools/imximage.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012-2013 Freescale Semiconductor, Inc.
+ * Copyright (C) 2012-2014 Freescale Semiconductor, Inc.
*
* (C) Copyright 2009-2012
* Stefano Babic, DENX Software Engineering, sbabic@denx.de.
@@ -53,6 +53,7 @@
#define FLASH_OFFSET_ONENAND 0x100
#define FLASH_OFFSET_NOR 0x1000
#define FLASH_OFFSET_SATA FLASH_OFFSET_STANDARD
+#define FLASH_OFFSET_QSPI 0x1000
#define IVT_HEADER_TAG 0xD1
#define IVT_VERSION 0x40