qemu: Update flash address map to keep FIP in secure FLASH0

Secure FLASH0 memory map looks like:
- Offset: 0 to 256K -> bl1.bin
- Offset: 256K to 4.25M -> fip.bin

FLASH1 is normally used via UEFI/edk2 to keep varstore.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Change-Id: I6883f556c22d6a5d3fa3846c703bebc2abe36765
This commit is contained in:
Sumit Garg 2019-11-14 17:34:09 +05:30
parent c6ba9b4547
commit a886bbeceb
1 changed files with 2 additions and 2 deletions

View File

@ -196,8 +196,8 @@
#define QEMU_FLASH1_BASE 0x04000000
#define QEMU_FLASH1_SIZE 0x04000000
#define PLAT_QEMU_FIP_BASE QEMU_FLASH1_BASE
#define PLAT_QEMU_FIP_MAX_SIZE QEMU_FLASH1_SIZE
#define PLAT_QEMU_FIP_BASE 0x00040000
#define PLAT_QEMU_FIP_MAX_SIZE 0x00400000
#define DEVICE0_BASE 0x08000000
#define DEVICE0_SIZE 0x01000000