summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-05-22 03:57:39 +0000
committerTom Rini <trini@ti.com>2013-07-24 09:51:04 -0400
commit52caee0f36d86c660b7e139d29db01eac04274bd (patch)
treeea1fada0110a9b36e3166ba41129f858e3fa2695 /include
parent015643152aee4c333e3f95d153347f50b7e92ea7 (diff)
downloadu-boot-imx-52caee0f36d86c660b7e139d29db01eac04274bd.zip
u-boot-imx-52caee0f36d86c660b7e139d29db01eac04274bd.tar.gz
u-boot-imx-52caee0f36d86c660b7e139d29db01eac04274bd.tar.bz2
MIPS: qemu-malta: enable flash support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/qemu-malta.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/configs/qemu-malta.h b/include/configs/qemu-malta.h
index c72c5dd..436bb49 100644
--- a/include/configs/qemu-malta.h
+++ b/include/configs/qemu-malta.h
@@ -34,7 +34,7 @@
* Memory map
*/
#define CONFIG_SYS_TEXT_BASE 0xbfc00000 /* Rom version */
-#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
+#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
#define CONFIG_SYS_SDRAM_BASE 0x80000000 /* Cached addr */
#define CONFIG_SYS_MEM_SIZE (256 * 1024 * 1024)
@@ -86,7 +86,12 @@
/*
* Flash configuration
*/
-#define CONFIG_SYS_NO_FLASH
+#define CONFIG_SYS_FLASH_BASE (KSEG1 | MALTA_FLASH_BASE)
+#define CONFIG_SYS_MAX_FLASH_BANKS 1
+#define CONFIG_SYS_MAX_FLASH_SECT 128
+#define CONFIG_SYS_FLASH_CFI
+#define CONFIG_FLASH_CFI_DRIVER
+#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE
/*
* Commands