Fixed initrd issue by define big RAM
Signed-off-by:Jason Jin <Jason.jin@freescale.com>
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index a78a16d..e5d70fa 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -538,7 +538,6 @@
initrd_copy_to_ram = 0;
} else { /* not set, no restrictions to load high */
initrd_high = ~0;
- initrd_copy_to_ram = 0;
}
#ifdef CONFIG_LOGBUFFER
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index b089769..aca2ecc 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -100,6 +100,7 @@
*/
#define CFG_DDR_SDRAM_BASE 0x00000000 /* DDR is system memory*/
#define CFG_SDRAM_BASE CFG_DDR_SDRAM_BASE
+#define CONFIG_VERY_BIG_RAM
#define MPC86xx_DDR_SDRAM_CLK_CNTL