Loongson.fdf.inc 951 B

1234567891011121314151617181920212223242526272829
  1. ## @file
  2. #
  3. # Copyright (c) 2022 Loongson Technology Corporation Limited. All rights reserved.<BR>
  4. #
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. #
  7. ##
  8. DEFINE BLOCK_SIZE = 0x1000
  9. ############################################################################
  10. # fd total
  11. DEFINE FD_BASE_ADDRESS = 0x1c000000
  12. DEFINE FD_BLOCKS = 0x400
  13. DEFINE FD_SIZE = 0x400000
  14. ############################################################################
  15. #flash code layout
  16. #Set Sec base address and size in flash
  17. DEFINE SECFV_OFFSET = 0x00000000
  18. DEFINE SECFV_SIZE = 0x00010000
  19. #Set Pei base address and size in flash
  20. DEFINE PEIFV_OFFSET = 0x00010000
  21. DEFINE PEIFV_SIZE = 0x00040000
  22. #Set Dxe base address and size in flash
  23. DEFINE DXEFV_OFFSET = 0x00050000
  24. DEFINE DXEFV_SIZE = 0x00350000