3 Copyright (c) 2011-2014, ARM Ltd. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #include <Library/NorFlashPlatformLib.h>
17 #include <ArmPlatform.h>
19 #define NOR_FLASH_DEVICE_COUNT 1
22 NOR_FLASH_DESCRIPTION mNorFlashDevices
[NOR_FLASH_DEVICE_COUNT
] = {
28 {0xE7223039, 0x5836, 0x41E1, { 0xB5, 0x42, 0xD7, 0xEC, 0x73, 0x6C, 0x5E, 0x59 } }
33 NorFlashPlatformInitialization (
41 NorFlashPlatformGetDevices (
42 OUT NOR_FLASH_DESCRIPTION
**NorFlashDevices
,
46 if ((NorFlashDevices
== NULL
) || (Count
== NULL
)) {
47 return EFI_INVALID_PARAMETER
;
50 *NorFlashDevices
= mNorFlashDevices
;
51 *Count
= NOR_FLASH_DEVICE_COUNT
;