summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Lin <jilin@nvidia.com>2012-07-29 20:53:29 +0000
committerTom Warren <twarren@nvidia.com>2012-09-07 13:54:31 -0700
commit312693c3dd280a73824c6403e249775ccb7c3547 (patch)
treed1e3ca34226778745ef6e6967cf31d9b242e6144 /lib
parent7cedd1811a9ab3ebfe2a8f56239648c1a3fa61d5 (diff)
downloadu-boot-imx-312693c3dd280a73824c6403e249775ccb7c3547.zip
u-boot-imx-312693c3dd280a73824c6403e249775ccb7c3547.tar.gz
u-boot-imx-312693c3dd280a73824c6403e249775ccb7c3547.tar.bz2
tegra: nand: Add Tegra NAND driver
A device tree is used to configure the NAND, including memory timings and block/pages sizes. If this node is not present or is disabled, then NAND will not be initialized. Signed-off-by: Jim Lin <jilin@nvidia.com> Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/fdtdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index af17ac1..69c63db 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -42,6 +42,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(NVIDIA_TEGRA20_EMC, "nvidia,tegra20-emc"),
COMPAT(NVIDIA_TEGRA20_EMC_TABLE, "nvidia,tegra20-emc-table"),
COMPAT(NVIDIA_TEGRA20_KBC, "nvidia,tegra20-kbc"),
+ COMPAT(NVIDIA_TEGRA20_NAND, "nvidia,tegra20-nand"),
};
const char *fdtdec_get_compatible(enum fdt_compat_id id)