flash_header for mx51

Sascha Hauer s.hauer at pengutronix.de
Mon Mar 19 18:44:22 EDT 2012


On Mon, Mar 19, 2012 at 11:48:18AM +0400, Alexander Shiyan wrote:
> Hello.
> 
> Since for mx51-based boards we use same flash_header file,
> can we rename it to flash_header_imx51 and place to arm/mach-imx
> for use this one for all future mx51 boards?
> Thanks!

I think this won't work in general. The flash header contains the SDRAM
setup which is board specific. There may be some code duplication for
boards which have the same SDRAM, but I'm not sure if it makes sense to
try to merge them.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list