diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-microblaze/processor.h | 1 | ||||
-rw-r--r-- | include/asm-microblaze/suzaku.h | 4 | ||||
-rw-r--r-- | include/configs/suzaku.h | 13 |
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 0000000..78b8976 --- /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 4d2b270..c57a144 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 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 */ |