diff options
author | Xinyu Chen <xinyu.chen@freescale.com> | 2011-05-23 14:29:26 +0800 |
---|---|---|
committer | Xinyu Chen <xinyu.chen@freescale.com> | 2011-05-23 14:36:46 +0800 |
commit | 0d418b4c3f71a3bf259e43b5236e702636a32ec4 (patch) | |
tree | 08f84ad906892e8ab5d6e1497159ecf1fad550db /board | |
parent | 314c6033037e4f3e57638caab98fe2711b79b416 (diff) | |
download | u-boot-imx-0d418b4c3f71a3bf259e43b5236e702636a32ec4.zip u-boot-imx-0d418b4c3f71a3bf259e43b5236e702636a32ec4.tar.gz u-boot-imx-0d418b4c3f71a3bf259e43b5236e702636a32ec4.tar.bz2 |
ENGR00143837 mx50 rd3: support android boot from RD3 NAND device
Enable NAND gpio, recovery mode detect after boot from spi nor.
Change default env for loading kernel and uramdisk from NAND,
disabling elcdif lcd driver to support EPDC eink panel as default.
Enable recovery mode support and NAND/UBI/UBIFS command.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx50_rdp/mx50_rdp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/board/freescale/mx50_rdp/mx50_rdp.c b/board/freescale/mx50_rdp/mx50_rdp.c index 3bf1bdd..8470af0 100644 --- a/board/freescale/mx50_rdp/mx50_rdp.c +++ b/board/freescale/mx50_rdp/mx50_rdp.c @@ -510,6 +510,7 @@ void setup_gpmi_nand(void) break; case 1: + case 3: if ((src_sbmr & 0x00000004) >> 2) *(u32 *)(IOMUXC_BASE_ADDR + PAD_GRP_START + 0xc) = (0x1 << 13); @@ -1410,6 +1411,7 @@ int check_recovery_cmd_file(void) } break; case NAND_BOOT: + case SPI_NOR_BOOT: env = getenv("mtdparts"); if (!env) setenv("mtdparts", MTDPARTS_DEFAULT); @@ -1426,10 +1428,6 @@ int check_recovery_cmd_file(void) CONFIG_ANDROID_UBIFS_PARTITION_NM, CONFIG_ANDROID_CACHE_PARTITION_NAND, CONFIG_ANDROID_RECOVERY_CMD_FILE); - break; - case SPI_NOR_BOOT: - return 0; - break; case UNKNOWN_BOOT: default: return 0; |