mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 14:40:41 +00:00
mxc_nand: add support for i.MX35 processor
Signed-off-by: Stefano Babic <sbabic@denx.de> Acked-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
parent
76f260d105
commit
58c758fe5a
1 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@
|
||||||
#include <nand.h>
|
#include <nand.h>
|
||||||
#include <linux/err.h>
|
#include <linux/err.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#if defined(CONFIG_MX25) || defined(CONFIG_MX27)
|
#if defined(CONFIG_MX25) || defined(CONFIG_MX27) || defined(CONFIG_MX35)
|
||||||
#include <asm/arch/imx-regs.h>
|
#include <asm/arch/imx-regs.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
*/
|
*/
|
||||||
#if defined(CONFIG_MX31) || defined(CONFIG_MX27)
|
#if defined(CONFIG_MX31) || defined(CONFIG_MX27)
|
||||||
#define MXC_NFC_V1
|
#define MXC_NFC_V1
|
||||||
#elif defined(CONFIG_MX25)
|
#elif defined(CONFIG_MX25) || defined(CONFIG_MX35)
|
||||||
#define MXC_NFC_V1_1
|
#define MXC_NFC_V1_1
|
||||||
#else
|
#else
|
||||||
#warning "MXC NFC version not defined"
|
#warning "MXC NFC version not defined"
|
||||||
|
@ -265,7 +265,7 @@ static int is_16bit_nand(void)
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#elif defined(CONFIG_MX25)
|
#elif defined(CONFIG_MX25) || defined(CONFIG_MX35)
|
||||||
static int is_16bit_nand(void)
|
static int is_16bit_nand(void)
|
||||||
{
|
{
|
||||||
struct ccm_regs *ccm =
|
struct ccm_regs *ccm =
|
||||||
|
|
Loading…
Reference in a new issue