summaryrefslogtreecommitdiff
path: root/onenand_ipl/onenand_ipl.h
diff options
context:
space:
mode:
authorKyungmin Park <kmpark@infradead.org>2009-03-03 09:05:53 +0900
committerScott Wood <scottwood@freescale.com>2009-03-23 17:06:55 -0500
commit196c74311f394c6eb08bd9ab07a35671299b9851 (patch)
tree135d65adf5740204502bb6c89ff482edbd021c48 /onenand_ipl/onenand_ipl.h
parent16f2f5a351004129e79e79816697a367fd9e5446 (diff)
downloadu-boot-imx-196c74311f394c6eb08bd9ab07a35671299b9851.zip
u-boot-imx-196c74311f394c6eb08bd9ab07a35671299b9851.tar.gz
u-boot-imx-196c74311f394c6eb08bd9ab07a35671299b9851.tar.bz2
Reduce OneNAND IPL common code
OneNAND IPL has common codes for RAM init, load data, and jump to 2nd bootloader, but it's common code used about 300~400 bytes. So board specific codes, such as lowlevel_init, can't has enough code. It make a difficult to implement OneNAND IPL. his patch make this common code as small as possible. and give lowlevel_init can have more codes. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'onenand_ipl/onenand_ipl.h')
-rw-r--r--onenand_ipl/onenand_ipl.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/onenand_ipl/onenand_ipl.h b/onenand_ipl/onenand_ipl.h
index 3387998..57e54f5 100644
--- a/onenand_ipl/onenand_ipl.h
+++ b/onenand_ipl/onenand_ipl.h
@@ -23,12 +23,6 @@
#include <linux/mtd/onenand_regs.h>
-#define ONENAND_BLOCK_SIZE 2048
-
-#ifndef CONFIG_SYS_PRINTF
-#define printf(format, args...)
-#endif
-
#define onenand_readw(a) readw(a)
#define onenand_writew(v, a) writew(v, a)