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