From: Kyungmin Park Date: Tue, 6 Oct 2009 10:37:37 +0000 (+0900) Subject: Merge branch 'master' of git://git.denx.de/u-boot X-Git-Tag: IL01-20091009~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b5f7dc1c13c1f69605810a071cdc545dd0ded89;p=kernel%2Fu-boot.git Merge branch 'master' of git://git.denx.de/u-boot Conflicts: Makefile onenand_ipl/onenand_ipl.h onenand_ipl/onenand_read.c Signed-off-by: Kyungmin Park --- 7b5f7dc1c13c1f69605810a071cdc545dd0ded89 diff --cc onenand_ipl/onenand_ipl.h index e422744,7ebb3e3..70dcb53 --- a/onenand_ipl/onenand_ipl.h +++ b/onenand_ipl/onenand_ipl.h @@@ -28,15 -28,8 +28,14 @@@ #define THIS_ONENAND(a) (CONFIG_SYS_ONENAND_BASE + (a)) - #define READ_INTERRUPT() \ - onenand_readw(ONENAND_REG_INTERRUPT) + #define READ_INTERRUPT() onenand_readw(ONENAND_REG_INTERRUPT) +enum { + ONENAND_USE_DEFAULT, + ONENAND_USE_GENERIC, + ONENAND_USE_BOARD, +}; + extern int (*onenand_read_page)(ulong block, ulong page, u_char *buf, int pagesize); extern int onenand_read_block(unsigned char *buf);