1 /** @file 2 * Header defining platform constants (Base addresses, sizes, flags) 3 * 4 * Copyright (c) 2011, ARM Limited. All rights reserved. 5 * Copyright (c) 2014, Linaro Limited 6 * 7 * This program and the accompanying materials 8 * are licensed and made available under the terms and conditions of the BSD License 9 * which accompanies this distribution. The full text of the license may be found at 10 * http://opensource.org/licenses/bsd-license.php 11 * 12 * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 14 * 15 **/ 16 17 #ifndef __PLATFORM_H__ 18 #define __PLATFORM_H__ 19 20 // 21 // We don't care about this value, but the PL031 driver depends on the macro 22 // to exist: it will pass it on to our ArmPlatformSysConfigLib:ConfigGet() 23 // function, which just returns EFI_UNSUPPORTED. 24 // 25 #define SYS_CFG_RTC 0x0 26 27 #define QEMU_NOR_BLOCK_SIZE SIZE_256KB 28 #define QEMU_NOR0_BASE 0x0 29 #define QEMU_NOR0_SIZE SIZE_64MB 30 #define QEMU_NOR1_BASE 0x04000000 31 #define QEMU_NOR1_SIZE SIZE_64MB 32 33 #endif 34