OneNAND IPL: Override the ONENAND_START_PAGE
authorKyungmin Park <kyungmin.park@samsung.com>
Thu, 23 Jul 2009 04:37:40 +0000 (13:37 +0900)
committerKyungmin Park <kyungmin.park@samsung.com>
Thu, 23 Jul 2009 04:37:40 +0000 (13:37 +0900)
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
onenand_ipl/onenand_read.c

index 7ffc9a9..07de8c4 100644 (file)
@@ -107,7 +107,9 @@ static inline int onenand_read_page(ulong block, ulong page,
 }
 #endif
 
+#ifndef ONENAND_START_PAGE
 #define ONENAND_START_PAGE             1
+#endif
 #define ONENAND_PAGES_PER_BLOCK                64
 
 /**