From 196c74311f394c6eb08bd9ab07a35671299b9851 Mon Sep 17 00:00:00 2001 From: Kyungmin Park Date: Tue, 3 Mar 2009 09:05:53 +0900 Subject: 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 Signed-off-by: Scott Wood --- onenand_ipl/onenand_ipl.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'onenand_ipl/onenand_ipl.h') diff --git a/onenand_ipl/onenand_ipl.h b/onenand_ipl/onenand_ipl.h index 3387998a97..57e54f5cbc 100644 --- a/onenand_ipl/onenand_ipl.h +++ b/onenand_ipl/onenand_ipl.h @@ -23,12 +23,6 @@ #include -#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) -- cgit v1.2.1