1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */ 243741396SBin Meng /* 343741396SBin Meng * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> 443741396SBin Meng */ 543741396SBin Meng 643741396SBin Meng #ifndef __FSP_CONFIGS_H__ 743741396SBin Meng #define __FSP_CONFIGS_H__ 843741396SBin Meng 943741396SBin Meng struct platform_config { 1043741396SBin Meng u8 enable_ht; 1143741396SBin Meng u8 enable_turbo; 1243741396SBin Meng u8 enable_memory_down; 1343741396SBin Meng u8 enable_fast_boot; 1443741396SBin Meng }; 1543741396SBin Meng 1643741396SBin Meng /* 1743741396SBin Meng * Dummy structure for now as currently only SPD is verified in U-Boot. 1843741396SBin Meng * 1943741396SBin Meng * We can add the missing parameters when adding support on a board with 2043741396SBin Meng * memory down configuration. 2143741396SBin Meng */ 2243741396SBin Meng struct memory_config { 2343741396SBin Meng u8 dummy; 2443741396SBin Meng }; 2543741396SBin Meng 2643741396SBin Meng struct fsp_config_data { 2743741396SBin Meng struct fsp_cfg_common common; 2843741396SBin Meng struct platform_config plat_config; 2943741396SBin Meng struct memory_config mem_config; 3043741396SBin Meng }; 3143741396SBin Meng 3243741396SBin Meng struct fspinit_rtbuf { 3343741396SBin Meng u32 stack_top; 3443741396SBin Meng u32 boot_mode; 3543741396SBin Meng struct platform_config *plat_config; 3643741396SBin Meng struct memory_config *mem_config; 3743741396SBin Meng }; 3843741396SBin Meng 3943741396SBin Meng #endif /* __FSP_CONFIGS_H__ */ 40