Platform.h 953 B

123456789101112131415161718192021222324252627282930313233
  1. /** @file
  2. This header file provides platform specific definitions used
  3. by other modules for platform specific initialization.
  4. This is not suitable for consumption by ASL or VRF files.
  5. Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
  6. SPDX-License-Identifier: BSD-2-Clause-Patent
  7. **/
  8. #ifndef _PLATFORM_H_
  9. #define _PLATFORM_H_
  10. //#include "CommonDefinitions.h"
  11. #include "PchAccess.h"
  12. #include "SaAccess.h"
  13. //
  14. // Need minimum of 48MB during PEI phase for IAG and some buffer for boot.
  15. //
  16. #define PEI_MIN_MEMORY_SIZE (10 * 0x800000 + 0x10000000) // 80MB + 256MB
  17. #define PEI_RECOVERY_MIN_MEMORY_SIZE (10 * 0x800000 + 0x10000000) // 80MB + 256MB
  18. #define FLASH_BLOCK_SIZE 0x10000
  19. #define CPU_EXTERNAL_CLOCK_FREQ 0x64
  20. #define CPU_FREQUENCY_MODE_100 0x64
  21. #define FREQUENCY_RESOLUTION_3182 0xc6e
  22. #define NDIVIDER_BASE_VALUE 0x19d
  23. #define MDIVIDER_VALUE_13 0xd
  24. #endif