summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2014-06-14 08:48:19 +0530
committerYork Sun <yorksun@freescale.com>2014-07-22 16:25:54 -0700
commit591dd192307d81cf8f8705b06854e973c53d4c4d (patch)
tree38b6eb8c5b11734a57cee2a1a273073eb8aa0106 /include
parent32514d259bf37cc92872aeb0624b75f600e7fb3a (diff)
downloadu-boot-imx-591dd192307d81cf8f8705b06854e973c53d4c4d.zip
u-boot-imx-591dd192307d81cf8f8705b06854e973c53d4c4d.tar.gz
u-boot-imx-591dd192307d81cf8f8705b06854e973c53d4c4d.tar.bz2
driver/nand: Add support of 16K SRAM for IFC 2.0
Internal SRAM has been incresed from 8KB to 16KB for IFC cotroller ver 2.0. Update the page offset calculation logic to support the same. Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/fsl_ifc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fsl_ifc.h b/include/fsl_ifc.h
index b353b04..11474b7 100644
--- a/include/fsl_ifc.h
+++ b/include/fsl_ifc.h
@@ -12,6 +12,8 @@
#include <config.h>
#include <common.h>
+#define FSL_IFC_V1_1_0 0x01010000
+#define FSL_IFC_V2_0_0 0x02000000
#ifdef CONFIG_SYS_FSL_IFC_LE
#define ifc_in32(a) in_le32(a)