diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-12-10 22:03:00 -0800 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-01-13 12:20:14 +0800 |
commit | 81f84aa6c903eb78d6650f159a6486a2a5af83cb (patch) | |
tree | 191a0aab6de58af8327ee54a28257a1cb66db8ba /arch/x86/cpu/baytrail | |
parent | cb379a34c46230c9b56a1aa1750445a867c48bd4 (diff) | |
download | u-boot-imx-81f84aa6c903eb78d6650f159a6486a2a5af83cb.zip u-boot-imx-81f84aa6c903eb78d6650f159a6486a2a5af83cb.tar.gz u-boot-imx-81f84aa6c903eb78d6650f159a6486a2a5af83cb.tar.bz2 |
x86: fsp: Rename update_fsp_upd() and change its signature
To support platform-specific configurations (might not always be
UPD on some platform), use a better name update_fsp_configs() and
accepct struct fsp_config_data as its parameter so that platform
codes can handle whatever configuration data for that FSP.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/baytrail')
-rw-r--r-- | arch/x86/cpu/baytrail/fsp_configs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/cpu/baytrail/fsp_configs.c b/arch/x86/cpu/baytrail/fsp_configs.c index a72d615..9810921 100644 --- a/arch/x86/cpu/baytrail/fsp_configs.c +++ b/arch/x86/cpu/baytrail/fsp_configs.c @@ -121,12 +121,13 @@ const struct pch_azalia_config azalia_config = { }; /** - * Override the FSP's UPD. + * Override the FSP's configuration data. * If the device tree does not specify an integer setting, use the default * provided in Intel's Baytrail_FSP_Gold4.tgz release FSP/BayleyBayFsp.bsf file. */ -void update_fsp_upd(struct upd_region *fsp_upd) +void update_fsp_configs(struct fsp_config_data *config) { + struct upd_region *fsp_upd = &config->fsp_upd; struct memory_down_data *mem; const void *blob = gd->fdt_blob; int node; |