Reduce OneNAND IPL common code
authorKyungmin Park <kmpark@infradead.org>
Tue, 3 Mar 2009 00:05:53 +0000 (09:05 +0900)
committerScott Wood <scottwood@freescale.com>
Mon, 23 Mar 2009 22:06:55 +0000 (17:06 -0500)
commit196c74311f394c6eb08bd9ab07a35671299b9851
tree135d65adf5740204502bb6c89ff482edbd021c48
parent16f2f5a351004129e79e79816697a367fd9e5446
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>
onenand_ipl/onenand_boot.c
onenand_ipl/onenand_ipl.h