summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-10-18 12:53:36 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2012-10-18 19:18:14 +0200
commit822ebe51342db269164a7dd7a5394e2e5892422d (patch)
tree0bd774f3a73b7baddd272d57296454644413e552 /arch
parentcac4ae7a91a4872dd67084cb244f68446a4b39b8 (diff)
colibri_t20: nand: change offset handling
Rather than relying on hard-coded offsets actually make use of partition table parsing implementation.
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/global_data.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
index 800f5fe6a5..97cfbf67c6 100644
--- a/arch/arm/include/asm/global_data.h
+++ b/arch/arm/include/asm/global_data.h
@@ -80,12 +80,9 @@ typedef struct global_data {
void **jt; /* jump table */
char env_buf[32]; /* buffer for getenv() before reloc. */
#if defined(CONFIG_COLIBRI_T20) || defined(CONFIG_COLIBRI_T30)
- unsigned env_offset; /* offset to the u-boot environment in mass storage */
- unsigned conf_blk_offset; /* offset to the Toradex config block in mass storage */
- unsigned conf_blk_offset2; /* offset to the Toradex config block (WinCE) in mass storage */
- unsigned kernel_offset; /* offset to the kernel in mass storage */
- unsigned rootfs_size; /* size of the rootfs in mass storage */
- unsigned rootfs_offset; /* offset to the rootfs in mass storage */
+ unsigned env_offset; /* offset to U-Boot environment */
+ unsigned conf_blk_offset; /* offset to Toradex config block */
+ unsigned kernel_offset; /* offset to kernel in mass storage */
#endif
} gd_t;