summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-07-10 23:48:41 +0000
committerwdenk <wdenk>2004-07-10 23:48:41 +0000
commit857cad37a41c431582a74be56f858ee0476cd0d9 (patch)
treead20b07944687e5996418e91111a6cef5b2e319e /include/configs
parentfabd46acff08edd9f945340338caa07bb0534e64 (diff)
downloadu-boot-imx-857cad37a41c431582a74be56f858ee0476cd0d9.zip
u-boot-imx-857cad37a41c431582a74be56f858ee0476cd0d9.tar.gz
u-boot-imx-857cad37a41c431582a74be56f858ee0476cd0d9.tar.bz2
Patches by Yasushi Shoji, 29 Jun 2004:
- add empty include/asm-microblaze/processor.h - add to CREDITS and MAINTAINERS - add gd initialization - add MicroBlaze and SUZAKU board to MAKEALL script - add reset support for SUZAKU - add flush_cache() for MicroBlaze - add CFG_FLASH_SIZE to include/configs/suzaku.h since we have fixed size flash memory on SUZAKU
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/suzaku.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/configs/suzaku.h b/include/configs/suzaku.h
index 5c5cdf4..e8c4373 100644
--- a/include/configs/suzaku.h
+++ b/include/configs/suzaku.h
@@ -36,7 +36,7 @@
* (easy to change)
*/
-#define CONFIG_MICROBLZE 1 /* This is an MicroBlaze CPU */
+#define CONFIG_MICROBLAZE 1 /* This is an MicroBlaze CPU */
#define CONFIG_SUZAKU 1 /* on an SUZAKU Board */
/*-----------------------------------------------------------------------
@@ -47,6 +47,7 @@
#define CFG_SDRAM_BASE 0x80000000
#define CFG_SDRAM_SIZE 0x01000000
#define CFG_FLASH_BASE 0xfff00000
+#define CFG_FLASH_SIZE 0x00400000
#define CFG_RESET_ADDRESS 0xfff00100
#define CFG_MONITOR_LEN (256 << 10) /* Reserve 256 kB for Monitor */
#define CFG_MONITOR_BASE (CFG_SDRAM_BASE + CFG_SDRAM_SIZE - (1024 * 1024))
@@ -87,4 +88,14 @@
#define CFG_ENV_SIZE 0x10000 /* Total Size of Environment Sector */
#define CFG_ENV_SECT_SIZE 0x10000 /* see README - env sector total size */
+/*-----------------------------------------------------------------------
+ * Definitions for initial stack pointer and data area (in DPRAM)
+ */
+
+#define CFG_INIT_RAM_ADDR 0x80000000 /* inside of SDRAM */
+#define CFG_INIT_RAM_END 0x2000 /* End of used area in RAM */
+#define CFG_GBL_DATA_SIZE 128 /* size in bytes reserved for initial data */
+#define CFG_GBL_DATA_OFFSET (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)
+#define CFG_INIT_SP_OFFSET CFG_GBL_DATA_OFFSET
+
#endif /* __CONFIG_H */