[U-Boot] [PATCH 13/13] mxc nand: Add support for i.MX5

Troy Kisky troy.kisky at boundarydevices.com
Mon Aug 13 23:06:36 CEST 2012


On 8/13/2012 2:04 PM, Troy Kisky wrote:
> On 8/13/2012 1:51 PM, Benoît Thébaudeau wrote:
>> Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau at advansee.com>
>> Cc: Scott Wood <scottwood at freescale.com>
>> Cc: Stefano Babic <sbabic at denx.de>
>> ---
>>   .../arch/arm/include/asm/arch-mx5/imx-regs.h       |    9 +
>>   .../drivers/mtd/nand/mxc_nand.c                    |  217 
>> +++++++++++++++-----
>>   .../include/fsl_nfc.h                              |  149 
>> +++++++++-----
>>   .../nand_spl/nand_boot_fsl_nfc.c                   |  114 +++++++---
>>   4 files changed, 363 insertions(+), 126 deletions(-)
>>
>> diff --git 
>> u-boot-4d3c95f.orig/arch/arm/include/asm/arch-mx5/imx-regs.h 
>> u-boot-4d3c95f/arch/arm/include/asm/arch-mx5/imx-regs.h
>> index 7f66b61..55e9660 100644
>> --- u-boot-4d3c95f.orig/arch/arm/include/asm/arch-mx5/imx-regs.h
>> +++ u-boot-4d3c95f/arch/arm/include/asm/arch-mx5/imx-regs.h
>> @@ -232,6 +232,15 @@
>>   #define CS0_32M_CS1_32M_CS2_32M_CS3_32M        3
>>     /*
>> + * SRC register definitions
>> + */
>> +#if defined(CONFIG_MX51)
>> +#define SRC_SBMR_NF16B        (1 << 2)
>> +#elif defined(CONFIG_MX53)
>> +#define SRC_SBMR_NF16B        (1 << 13)
>> +#endif
>> +
>>
> You could give an error if a multi-platform  kernel has both defined, 
> if a run-time check is too difficult.
>
>
Please ignore my stupid ramblings!!!!



More information about the U-Boot mailing list