x86: Initial import from Intel FSP release for Queensbay platform
PATCH 11/25 x86: Initial import from Intel FSP release for Queensbay platform
This is the initial import from Intel FSP release for Queensbay platform (Tunnel Creek processor and Topcliff Platform Controller Hub), which can be downloaded from Intel website.
For more details, check http://www.intel.com/fsp.
Note: in order to stay almost the same as the Intel release, no U-Boot coding convention will be adopted to these codes. In this commit, only convert the files from DOS format to UNIX format and trim some trailing spaces here and there.
--- arch/x86/cpu/queensbay/fsp_configs.c | 61 ++ arch/x86/cpu/queensbay/fsp_support.c | 649 +++++++++++++++++++++ arch/x86/include/asm/arch-queensbay/fsp/fsp_api.h | 108 ++++ .../include/asm/arch-queensbay/fsp/fsp_bootmode.h | 54 ++ arch/x86/include/asm/arch-queensbay/fsp/fsp_ffs.h | 506 ++++++++++++++++ arch/x86/include/asm/arch-queensbay/fsp/fsp_fv.h | 247 ++++++++ arch/x86/include/asm/arch-queensbay/fsp/fsp_hob.h | 424 ++++++++++++++ .../asm/arch-queensbay/fsp/fsp_infoheader.h | 118 ++++ .../include/asm/arch-queensbay/fsp/fsp_platform.h | 45 ++ .../include/asm/arch-queensbay/fsp/fsp_support.h | 165 ++++++ .../x86/include/asm/arch-queensbay/fsp/fsp_types.h | 222 +++++++ arch/x86/include/asm/arch-queensbay/fsp/fsp_vpd.h | 83 +++ 12 files changed, 2682 insertions(+) create mode 100644 arch/x86/cpu/queensbay/fsp_configs.c create mode 100644 arch/x86/cpu/queensbay/fsp_support.c create mode 100644 arch/x86/include/asm/arch-queensbay/fsp/fsp_api.h create mode 100644 arch/x86/include/asm/arch-queensbay/fsp/fsp_bootmode.h create mode 100644 arch/x86/include/asm/arch-queensbay/fsp/fsp_ffs.h create mode 100644 arch/x86/include/asm/arch-queensbay/fsp/fsp_fv.h create mode 100644 arch/x86/include/asm/arch-queensbay/fsp/fsp_hob.h create mode 100644 arch/x86/include/asm/arch-queensbay/fsp/fsp_infoheader.h create mode 100644 arch/x86/include/asm/arch-queensbay/fsp/fsp_platform.h create mode 100644 arch/x86/include/asm/arch-queensbay/fsp/fsp_support.h create mode 100644 arch/x86/include/asm/arch-queensbay/fsp/fsp_types.h create mode 100644 arch/x86/include/asm/arch-queensbay/fsp/fsp_vpd.h
arch/x86/cpu/queensbay/fsp_configs.c new file +61 -0
@@ -0,0 +1,61 @@ +/** @file + +Copyright (C) 2013, Intel Corporation + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. +* Neither the name of Intel Corporation nor the names of its contributors may +be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. + +**/ + +#include <types.h> +#include <string.h> +#include "fsp_support.h" + +/** +This function overrides the default configurations in the UPD data region. + +@param UpdDataRgn A pointer to the UPD_DATA_REGION data strcture. + +@return None +**/ +VOID +UpdateFspUpdConfigs ( +UPD_DATA_REGION *FspUpdRgn +) +{ +/* Override any UPD setting if required */ + +// +// Uncomment the line below to enable DEBUG message +// +//FspUpdRgn->SerialDebugPortType = 1; + +// +// Examples on how to initialize the pointers in UPD region. +// + +//FspUpdRgn->PcdExamplePtr = (EXAMPLE_DATA *)&ExampleData; + + +}
arch/x86/cpu/queensbay/fsp_support.c new file +649 -0
649 lines not on this page · raw message
arch/x86/include/asm/arch-queensbay/fsp/fsp_api.h new file +108 -0
108 lines not on this page · raw message
arch/x86/include/asm/arch-queensbay/fsp/fsp_bootmode.h new file +54 -0
54 lines not on this page · raw message
arch/x86/include/asm/arch-queensbay/fsp/fsp_ffs.h new file +506 -0
506 lines not on this page · raw message
arch/x86/include/asm/arch-queensbay/fsp/fsp_fv.h new file +247 -0
247 lines not on this page · raw message
arch/x86/include/asm/arch-queensbay/fsp/fsp_hob.h new file +424 -0
424 lines not on this page · raw message
arch/x86/include/asm/arch-queensbay/fsp/fsp_infoheader.h new file +118 -0
118 lines not on this page · raw message
arch/x86/include/asm/arch-queensbay/fsp/fsp_platform.h new file +45 -0
45 lines not on this page · raw message
arch/x86/include/asm/arch-queensbay/fsp/fsp_support.h new file +165 -0
165 lines not on this page · raw message
arch/x86/include/asm/arch-queensbay/fsp/fsp_types.h new file +222 -0
222 lines not on this page · raw message
arch/x86/include/asm/arch-queensbay/fsp/fsp_vpd.h new file +83 -0
83 lines not on this page · raw message
Signature · 1 line
1.8.2.1
PATCH 11/25 x86: Initial import from Intel FSP release for Queensbay platform
Hi Bin,
Quoted 4 lines · Bin Meng
This is the initial import from Intel FSP release for Queensbay platform (Tunnel Creek processor and Topcliff Platform Controller Hub), which can be downloaded from Intel website.
Quoted 8 lines
For more details, check http://www.intel.com/fsp.
Note: in order to stay almost the same as the Intel release, no U-Boot coding convention will be adopted to these codes. In this commit, only convert the files from DOS format to UNIX format and trim some trailing spaces here and there.
Signed-off-by Bin Meng <[email protected]>
This has mixed case and types like UINT8. Where are these resolved?
Regards,
Simon
PATCH 11/25 x86: Initial import from Intel FSP release for Queensbay platform
Hi Simon,
Quoted 9 lines · Simon Glass
Hi Bin,
Quoted 6 lines · Bin Meng
This is the initial import from Intel FSP release for Queensbay platform (Tunnel Creek processor and Topcliff Platform Controller Hub), which can be downloaded from Intel website.
For more details, check http://www.intel.com/fsp.
Quoted 9 lines
Quoted 6 lines
Note: in order to stay almost the same as the Intel release, no U-Boot coding convention will be adopted to these codes. In this commit, only convert the files from DOS format to UNIX format and trim some trailing spaces here and there.
Signed-off-by Bin Meng <[email protected]>This has mixed case and types like UINT8. Where are these resolved?
All the types used by FSP (like UINT8) are resolved in fsp_types.h included in this commit.
Regards,
Bin