summaryrefslogtreecommitdiffstats
path: root/include
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
parentfabd46acff08edd9f945340338caa07bb0534e64 (diff)
downloadbarebox-857cad37a41c431582a74be56f858ee0476cd0d9.tar.gz
barebox-857cad37a41c431582a74be56f858ee0476cd0d9.tar.xz
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')
-rw-r--r--include/asm-microblaze/processor.h1
-rw-r--r--include/asm-microblaze/suzaku.h4
-rw-r--r--include/configs/suzaku.h13
3 files changed, 16 insertions, 2 deletions
diff --git a/include/asm-microblaze/processor.h b/include/asm-microblaze/processor.h
new file mode 100644
index 0000000000..78b8976ca3
--- /dev/null
+++ b/include/asm-microblaze/processor.h
@@ -0,0 +1 @@
+/* FIXME: Implement this! */
diff --git a/include/asm-microblaze/suzaku.h b/include/asm-microblaze/suzaku.h
index 4d2b270b23..c57a144d3a 100644
--- a/include/asm-microblaze/suzaku.h
+++ b/include/asm-microblaze/suzaku.h
@@ -22,4 +22,6 @@
* MA 02111-1307 USA
*/
-/* EMPTY FILE */
+/* System Register (GPIO) */
+#define MICROBLAZE_SYSREG_BASE_ADDR 0xFFFFA000
+#define MICROBLAZE_SYSREG_RECONFIGURE (1 << 0)
diff --git a/include/configs/suzaku.h b/include/configs/suzaku.h
index 5c5cdf48a6..e8c437364f 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 */