x86: Add queensbay and crownbay Kconfig files
PATCH 18/25 x86: Add queensbay and crownbay Kconfig files
--- arch/x86/Kconfig | 13 ++++++++ arch/x86/cpu/queensbay/Kconfig | 75 ++++++++++++++++++++++++++++++++++++++++++ board/intel/crownbay/Kconfig | 20 +++++++++++ 3 files changed, 108 insertions(+) create mode 100644 arch/x86/cpu/queensbay/Kconfig create mode 100644 board/intel/crownbay/Kconfig
arch/x86/Kconfig +13 -0
@@ -32,6 +32,15 @@ config TARGET_CHROMEBOOK_LINK and it provides a 2560x1700 high resolution touch-enabled LCD display. +config TARGET_CROWNBAY + bool "Support Intel Crown Bay CRB" + help + This is the Intel Crown Bay Customer Reference Board. It contains + the Intel Atom Processor E6xx populated on the COM Express module + with 1GB DDR2 soldered down memory and a carrier board with the + Intel Platform Controller Hub EG20T, other system components and + peripheral connectors for PCIe/SATA/USB/LAN/SD/UART/Audio/LVDS. + endchoice config RAMBASE
@@ -310,8 +319,12 @@ endmenu source "arch/x86/cpu/ivybridge/Kconfig" +source "arch/x86/cpu/queensbay/Kconfig" + source "board/coreboot/coreboot/Kconfig" source "board/google/chromebook_link/Kconfig" +source "board/intel/crownbay/Kconfig" + endmenu
arch/x86/cpu/queensbay/Kconfig new file +75 -0
75 lines not on this page · raw message
board/intel/crownbay/Kconfig new file +20 -0
@@ -0,0 +1,20 @@ +if TARGET_CROWNBAY + +config SYS_BOARD + default "crownbay" + +config SYS_VENDOR + default "intel" + +config SYS_SOC + default "queensbay" + +config SYS_CONFIG_NAME + default "crownbay" + +config BOARD_SPECIFIC_OPTIONS # dummy + def_bool y + select INTEL_QUEENSBAY + select BOARD_ROMSIZE_KB_1024 + +endif
Signature · 1 line
1.8.2.1
PATCH 18/25 x86: Add queensbay and crownbay Kconfig files
Hi Bin,
Quoted 75 lines · Bin Meng
Signed-off-by Bin Meng <[email protected]>--- arch/x86/Kconfig | 13 ++++++++ arch/x86/cpu/queensbay/Kconfig | 75 ++++++++++++++++++++++++++++++++++++++++++ board/intel/crownbay/Kconfig | 20 +++++++++++ 3 files changed, 108 insertions(+) create mode 100644 arch/x86/cpu/queensbay/Kconfig create mode 100644 board/intel/crownbay/Kconfigarch/x86/Kconfig +13
-0@@ -32,6 +32,15 @@ config TARGET_CHROMEBOOK_LINK and it provides a 2560x1700 high resolution touch-enabled LCD display. +config TARGET_CROWNBAY + bool "Support Intel Crown Bay CRB" + help + This is the Intel Crown Bay Customer Reference Board. It contains + the Intel Atom Processor E6xx populated on the COM Express module + with 1GB DDR2 soldered down memory and a carrier board with the + Intel Platform Controller Hub EG20T, other system components and + peripheral connectors for PCIe/SATA/USB/LAN/SD/UART/Audio/LVDS. + endchoice config RAMBASE@@ -310,8 +319,12 @@ endmenu source "arch/x86/cpu/ivybridge/Kconfig" +source "arch/x86/cpu/queensbay/Kconfig" + source "board/coreboot/coreboot/Kconfig" source "board/google/chromebook_link/Kconfig" +source "board/intel/crownbay/Kconfig" + endmenuarch/x86/cpu/queensbay/Kconfig new file +27
-0@@ -0,0 +1,75 @@ +# +# Copyright (C) 2014, Bin Meng <[email protected]> +# +# SPDX-License-Identifier: GPL-2.0+ +# + +config INTEL_QUEENSBAY + bool + select HAVE_FSP + select HAVE_CMC + +if INTEL_QUEENSBAY + +config HAVE_FSP + bool "Add an Firmware Support Package binary" + help + Select this option to add an Firmware Support Package binary to + the resulting U-Boot image. It is a binary blob which U-Boot uses + to set up SDRAM and other chipset specific initialization. + + Note: Without this binary U-Boot will not be able to set up its + SDRAM so will not boot. + +config FSP_FILE + string "Firmware Support Package binary path and filename" + depends on HAVE_FSP + default "fsp.bin"
arch/x86/cpu/queensbay/Kconfig line 37
Quoted 10 lines
arch/x86/cpu/queensbay/Kconfig new file +10
-0+ help + The path and filename of the file to use as Firmware Support Package + binary. + +config FSP_LOCATION + hex "Firmware Support Package binary location" + depends on HAVE_FSP + default 0xfffc0000 + help + FSP is not Pisition Independent Code (PIC) and the whole FSP has to
Position
arch/x86/cpu/queensbay/Kconfig line 47
Quoted 10 lines
arch/x86/cpu/queensbay/Kconfig new file +10
-0+ be rebased if it is placed at a location which is different from the + perferred base address specified during the FSP build. Use Intel's + Binary Configuration Tool (BCT) to do the rebase. + + The default base address of 0xfffc0000 indicates that the binary must + be located at offset 0xc0000 from the beginning of a 1MB flash device. + +config FSP_TEMP_RAM_ADDR + hex + default 0x2000000
help?
arch/x86/cpu/queensbay/Kconfig line 54
Quoted 7 lines
arch/x86/cpu/queensbay/Kconfig new file +7
-0+ +config HAVE_CMC + bool "Add a Chipset Micro Code state machine binary" + help + Select this option to add a Chipset Micro Code state machine binary + to the resulting U-Boot image. It is a binary blob which must be put + in the flash for the processor to access when power up.
powered up
Can you add help about what it does?
arch/x86/cpu/queensbay/Kconfig line 59
Quoted 5 lines
arch/x86/cpu/queensbay/Kconfig new file +5
-0+ +config CMC_FILE + string "Chipset Micro Code state machine binary path and filename" + depends on HAVE_CMC + default "C0_22211.BIN"
Can we use lower case please?
Quoted 43 lines
arch/x86/cpu/queensbay/Kconfig new file +16
-0+ help + The path and filename of the file to use as Chipset Micro Code + state machine binary. + +config CMC_LOCATION + hex "Chipset Micro Code state machine binary location" + depends on HAVE_CMC + default 0xfffb0000 + help + The location of the CMC binary is determined by a strap. It must be + put in flash at a location matching the strap-determined base address. + + The default base address of 0xfffb0000 indicates that the binary must + be located at offset 0xb0000 from the beginning of a 1MB flash device. + +endifboard/intel/crownbay/Kconfig new file +20
-1@@ -0,0 +1,20 @@ +if TARGET_CROWNBAY + +config SYS_BOARD + default "crownbay" + +config SYS_VENDOR + default "intel" + +config SYS_SOC + default "queensbay" + +config SYS_CONFIG_NAME + default "crownbay" + +config BOARD_SPECIFIC_OPTIONS # dummy + def_bool y + select INTEL_QUEENSBAY + select BOARD_ROMSIZE_KB_1024 + +endif --
Quoted 2 lines
1.8.2.1
Regards,
Simon
PATCH 18/25 x86: Add queensbay and crownbay Kconfig files
Hi Simon,
Quoted 83 lines · Simon Glass
Hi Bin,
Quoted 79 lines · Bin Meng
Signed-off-by Bin Meng <[email protected]>--- arch/x86/Kconfig | 13 ++++++++ arch/x86/cpu/queensbay/Kconfig | 75 ++++++++++++++++++++++++++++++++++++++++++ board/intel/crownbay/Kconfig | 20 +++++++++++ 3 files changed, 108 insertions(+) create mode 100644 arch/x86/cpu/queensbay/Kconfig create mode 100644 board/intel/crownbay/Kconfigarch/x86/Kconfig +13
-0@@ -32,6 +32,15 @@ config TARGET_CHROMEBOOK_LINK and it provides a 2560x1700 high resolution touch-enabled LCD display. +config TARGET_CROWNBAY + bool "Support Intel Crown Bay CRB" + help + This is the Intel Crown Bay Customer Reference Board. It contains + the Intel Atom Processor E6xx populated on the COM Express module + with 1GB DDR2 soldered down memory and a carrier board with the + Intel Platform Controller Hub EG20T, other system components and + peripheral connectors for PCIe/SATA/USB/LAN/SD/UART/Audio/LVDS. + endchoice config RAMBASE@@ -310,8 +319,12 @@ endmenu source "arch/x86/cpu/ivybridge/Kconfig" +source "arch/x86/cpu/queensbay/Kconfig" + source "board/coreboot/coreboot/Kconfig" source "board/google/chromebook_link/Kconfig" +source "board/intel/crownbay/Kconfig" + endmenuarch/x86/cpu/queensbay/Kconfig new file +31
-0@@ -0,0 +1,75 @@ +# +# Copyright (C) 2014, Bin Meng <[email protected]> +# +# SPDX-License-Identifier: GPL-2.0+ +# + +config INTEL_QUEENSBAY + bool + select HAVE_FSP + select HAVE_CMC + +if INTEL_QUEENSBAY + +config HAVE_FSP + bool "Add an Firmware Support Package binary" + help + Select this option to add an Firmware Support Package binary to + the resulting U-Boot image. It is a binary blob which U-Boot uses + to set up SDRAM and other chipset specific initialization. + + Note: Without this binary U-Boot will not be able to set up its + SDRAM so will not boot. + +config FSP_FILE + string "Firmware Support Package binary path and filename" + depends on HAVE_FSP + default "fsp.bin" + help + The path and filename of the file to use as Firmware Support Package + binary. +
Quoted 8 lines
arch/x86/cpu/queensbay/Kconfig line 37
Quoted 6 lines
arch/x86/cpu/queensbay/Kconfig new file +6
-0+config FSP_LOCATION + hex "Firmware Support Package binary location" + depends on HAVE_FSP + default 0xfffc0000 + help + FSP is not Pisition Independent Code (PIC) and the whole FSP has toPosition
OK.
Quoted 4 lines
Quoted 4 lines
arch/x86/cpu/queensbay/Kconfig new file +4
-0+ be rebased if it is placed at a location which is different from the + perferred base address specified during the FSP build. Use Intel's + Binary Configuration Tool (BCT) to do the rebase. +
Quoted 8 lines
arch/x86/cpu/queensbay/Kconfig line 47
Quoted 6 lines
arch/x86/cpu/queensbay/Kconfig new file +6
-0+ The default base address of 0xfffc0000 indicates that the binary must + be located at offset 0xc0000 from the beginning of a 1MB flash device. + +config FSP_TEMP_RAM_ADDR + hex + default 0x2000000help?
OK.
Quoted 11 lines
arch/x86/cpu/queensbay/Kconfig line 54
Quoted 7 lines
arch/x86/cpu/queensbay/Kconfig new file +7
-0+ +config HAVE_CMC + bool "Add a Chipset Micro Code state machine binary" + help + Select this option to add a Chipset Micro Code state machine binary + to the resulting U-Boot image. It is a binary blob which must be put + in the flash for the processor to access when power up.powered up
Can you add help about what it does?
The datasheet does not mention too much details about CMC, but I will try adding more help about it.
Quoted 7 lines
arch/x86/cpu/queensbay/Kconfig line 59
Quoted 5 lines
arch/x86/cpu/queensbay/Kconfig new file +5
-0+ +config CMC_FILE + string "Chipset Micro Code state machine binary path and filename" + depends on HAVE_CMC + default "C0_22211.BIN"Can we use lower case please?
Yes.
[snip]
Regards,
Bin