fsp_configs.h 779 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
  4. */
  5. #ifndef __FSP_CONFIGS_H__
  6. #define __FSP_CONFIGS_H__
  7. struct platform_config {
  8. u8 enable_ht;
  9. u8 enable_turbo;
  10. u8 enable_memory_down;
  11. u8 enable_fast_boot;
  12. };
  13. /*
  14. * Dummy structure for now as currently only SPD is verified in U-Boot.
  15. *
  16. * We can add the missing parameters when adding support on a board with
  17. * memory down configuration.
  18. */
  19. struct memory_config {
  20. u8 dummy;
  21. };
  22. struct fsp_config_data {
  23. struct fsp_cfg_common common;
  24. struct platform_config plat_config;
  25. struct memory_config mem_config;
  26. };
  27. struct fspinit_rtbuf {
  28. u32 stack_top;
  29. u32 boot_mode;
  30. struct platform_config *plat_config;
  31. struct memory_config *mem_config;
  32. };
  33. #endif /* __FSP_CONFIGS_H__ */