qemu/qemu_sbsa: Adding memory mapping for both FLASH0/FLASH1
[project/bcm63xx/atf.git] / plat / qemu / qemu / include / platform_def.h
index a90573712f69d3db6745c14b7f473b91a7af38dc..c6b4db506df5b8a7242a27a2ceed80c11dc06f69 100644 (file)
 
 #define PLAT_PHY_ADDR_SPACE_SIZE       (1ULL << 32)
 #define PLAT_VIRT_ADDR_SPACE_SIZE      (1ULL << 32)
-#define MAX_MMAP_REGIONS               10
+#define MAX_MMAP_REGIONS               11
 #define MAX_XLAT_TABLES                        6
 #define MAX_IO_DEVICES                 3
 #define MAX_IO_HANDLES                 4
 
 #define PLAT_QEMU_CONSOLE_BAUDRATE     115200
 
-#define QEMU_FLASH0_BASE               0x04000000
+#define QEMU_FLASH0_BASE               0x00000000
 #define QEMU_FLASH0_SIZE               0x04000000
+#define QEMU_FLASH1_BASE               0x04000000
+#define QEMU_FLASH1_SIZE               0x04000000
 
-#define PLAT_QEMU_FIP_BASE             QEMU_FLASH0_BASE
-#define PLAT_QEMU_FIP_MAX_SIZE         QEMU_FLASH0_SIZE
+#define PLAT_QEMU_FIP_BASE             QEMU_FLASH1_BASE
+#define PLAT_QEMU_FIP_MAX_SIZE         QEMU_FLASH1_SIZE
 
 #define DEVICE0_BASE                   0x08000000
 #define DEVICE0_SIZE                   0x01000000