summaryrefslogtreecommitdiff
path: root/board/amcc/canyonlands/bootstrap.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-04-22 17:21:24 +0200
committerWolfgang Denk <wd@denx.de>2008-04-22 17:21:24 +0200
commit58c5376ba67767ee684069d43e7f747a5d9ae8ed (patch)
treedfd19b2fb608c8ba238da53f3302c30d94a1e0ba /board/amcc/canyonlands/bootstrap.c
parentdc7746d86d2a3dfe01ab9a70cb427f92adc303c7 (diff)
parent5d40d4430d9ebc8434c6f0798594836e1efa7a1e (diff)
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Diffstat (limited to 'board/amcc/canyonlands/bootstrap.c')
-rw-r--r--board/amcc/canyonlands/bootstrap.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/board/amcc/canyonlands/bootstrap.c b/board/amcc/canyonlands/bootstrap.c
index 37fa1c926c..1d125b6e6e 100644
--- a/board/amcc/canyonlands/bootstrap.c
+++ b/board/amcc/canyonlands/bootstrap.c
@@ -63,9 +63,22 @@ static u8 boot_configs[][17] = {
/*
* Bytes 5,6,8,9,11 change for NAND boot
*/
+#if 0
+/*
+ * Values for 512 page size NAND chips, not used anymore, just
+ * keep them here for reference
+ */
static u8 nand_boot[] = {
0x90, 0x01, 0xa0, 0x68, 0x58
};
+#else
+/*
+ * Values for 2k page size NAND chips
+ */
+static u8 nand_boot[] = {
+ 0x90, 0x01, 0xa0, 0xe8, 0x58
+};
+#endif
static int do_bootstrap(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{