Re: [U-Boot] [RFC 4/4] MXC: Reorganize 16 bit nand detection.

2009-11-10 Thread Magnus Lilja
Scott Wood skrev: > On Sun, Nov 08, 2009 at 11:55:39AM +0100, Magnus Lilja wrote: >> Alternative solution for supporting 16 bit NAND detection for the >> i.MX27 and i.MX31 SoCs. This moves the SoC specific code to the SoC header >> file leaving mxc_nand.c free from #ifdef's (in this respect). > >

Re: [U-Boot] [RFC 4/4] MXC: Reorganize 16 bit nand detection.

2009-11-09 Thread Scott Wood
On Sun, Nov 08, 2009 at 11:55:39AM +0100, Magnus Lilja wrote: > Alternative solution for supporting 16 bit NAND detection for the > i.MX27 and i.MX31 SoCs. This moves the SoC specific code to the SoC header > file leaving mxc_nand.c free from #ifdef's (in this respect). OTOH, it moves more NAND st

[U-Boot] [RFC 4/4] MXC: Reorganize 16 bit nand detection.

2009-11-08 Thread Magnus Lilja
Alternative solution for supporting 16 bit NAND detection for the i.MX27 and i.MX31 SoCs. This moves the SoC specific code to the SoC header file leaving mxc_nand.c free from #ifdef's (in this respect). Question: Is this approach acceptable/preferred over having #ifdef's for different SoCs in mxc_