summaryrefslogtreecommitdiff
path: root/include/fdt_decode.h
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-08-22 16:16:26 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-08-22 16:16:26 +0200
commit2a1325206da5381292c2b268e248702c523cc927 (patch)
tree45d684a865eab51b0711d07782b1d8e8ae9d9932 /include/fdt_decode.h
parent2f2f858faddd3cce54f7c64bc8fc8b596c1ddfaf (diff)
Initial Toradex Colibri T20 L4T R15 support.T20_LinuxImageV2.0Alpha1_20120808
Diffstat (limited to 'include/fdt_decode.h')
-rw-r--r--include/fdt_decode.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/fdt_decode.h b/include/fdt_decode.h
index 7b9e94919c..0969e29dec 100644
--- a/include/fdt_decode.h
+++ b/include/fdt_decode.h
@@ -244,6 +244,17 @@ enum {
FDT_NAND_TIMING_COUNT
};
+enum {
+ FDT_NAND_ENV_OFFSET,
+ FDT_NAND_CONFIG_OFFSET,
+ FDT_NAND_CONFIG_OFFSET2,
+ FDT_NAND_KERNEL_OFFSET,
+ FDT_NAND_ROOTFS_LENGTH,
+ FDT_NAND_ROOTFS_SIZE,
+
+ FDT_NAND_PARTOFFSET_COUNT
+};
+
/* Information about an attached NAND chip */
struct fdt_nand {
struct nand_ctlr *reg;
@@ -262,6 +273,13 @@ struct fdt_nand {
int page_spare_bytes;
int page_data_bytes; /* Bytes in data area */
int timing[FDT_NAND_TIMING_COUNT];
+ /*
+ * The offset of the start of
+ * u-boot-environment config-block kernel rootfs-size rootfs-start
+ * rootfs: the numbers are concatenated to mtdparts=tegra_nand:<rootfs-size>K@<rootfs-start>K(userspace)
+ * take them from a download with NVFLASH
+ */
+ int nv_partitions[FDT_NAND_PARTOFFSET_COUNT];
};
/**