mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* flash_header for mx51
@ 2012-03-19  7:48 Alexander Shiyan
  2012-03-19 22:44 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2012-03-19  7:48 UTC (permalink / raw)
  To: barebox

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!

---
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: flash_header for mx51
  2012-03-19  7:48 flash_header for mx51 Alexander Shiyan
@ 2012-03-19 22:44 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-03-19 22:44 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-19 22:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-19  7:48 flash_header for mx51 Alexander Shiyan
2012-03-19 22:44 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox