[U-Boot] [PATCH 10/10] imx27lite: add support for imx27lite board from LogicPD

Magnus Lilja lilja.magnus at gmail.com
Fri May 8 20:19:15 CEST 2009


Hi

I have now used the mxc_nand.c driver from patch 4 on a i.MX31 Litekit
board and have some add some more input, see below.

2009/5/6 Magnus Lilja <lilja.magnus at gmail.com>:
>> +/*
>> + * NAND
>> + */
>> +#define CONFIG_NAND_MXC
>> +#define CONFIG_MXC_NAND_REGS_BASE      0xd8000000

It would be nice to have the REGS_BASE automatically set to whatever
is appropriate for the SoC the code that is selected. I.e. it should
be enough to specify CONFIG_MX31 in the board config file and then the
NFC register base is handled automatically (and the equivalent for
i.MX27).

Other than that, the only change to make it work on i.MX31 Litekit was
to disable the NAND bus width checking since that's currently i.MX27
specific code in mxc_nand.c so that would need some minor update for
i.MX31.


Regards, Magnus Lilja


More information about the U-Boot mailing list