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