Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38960 )
Change subject: payloads/tianocore: Enable PS2 keyboard module
......................................................................
Patch Set 3:
(2 comments)
> Patch Set 3:
>
> (2 comments)
>
> Should this be a Kconfig option so only boards with PS/2 controllers enable this? On the other hand, that might be too complex, and the default payload configuration in coreboot should be generic.
we don't selectively enable it in other payloads (eg, SeaBIOS), so I don't see why we'd do that here
https://review.coreboot.org/c/coreboot/+/38960/3//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/38960/3//COMMIT_MSG@9
PS3, Line 9: Upstream UEFIPayload now includes support for PS2 keyboards, but
> Could you please reference the upstream commit adding the support?
33a3293: UefiPayloadPkg/BootManager: Add PS2 keyboard support
https://review.coreboot.org/c/coreboot/+/38960/3//COMMIT_MSG@11
PS3, Line 11:
> Please mention how much this increases the payload size.
the payload size is fixed at 4MB uncompressed
--
To view, visit https://review.coreboot.org/c/coreboot/+/38960
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If6d468809142a0049ce1648217d62b070229ad6b
Gerrit-Change-Number: 38960
Gerrit-PatchSet: 3
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Tue, 25 Feb 2020 16:59:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: comment
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38960 )
Change subject: payloads/tianocore: Enable PS2 keyboard module
......................................................................
Patch Set 3:
(2 comments)
Should this be a Kconfig option so only boards with PS/2 controllers enable this? On the other hand, that might be too complex, and the default payload configuration in coreboot should be generic.
https://review.coreboot.org/c/coreboot/+/38960/3//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/38960/3//COMMIT_MSG@9
PS3, Line 9: Upstream UEFIPayload now includes support for PS2 keyboards, but
Could you please reference the upstream commit adding the support?
https://review.coreboot.org/c/coreboot/+/38960/3//COMMIT_MSG@11
PS3, Line 11:
Please mention how much this increases the payload size.
--
To view, visit https://review.coreboot.org/c/coreboot/+/38960
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If6d468809142a0049ce1648217d62b070229ad6b
Gerrit-Change-Number: 38960
Gerrit-PatchSet: 3
Gerrit-Owner: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)gmail.com>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Tue, 25 Feb 2020 11:58:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/39073 )
Change subject: mb/hp: Set CBFS_SIZE
......................................................................
mb/hp: Set CBFS_SIZE
Overwrite the default of 1 MiB with the actual bios regio size
set in the stock IFD.
Allows to use payloads like tianocore without manually touching
the CBFS_SIZE.
Change-Id: Ic1753a38212cc4961671fea11afe88265e73333b
Signed-off-by: Patrick Rudolph <patrick.rudolph(a)9elements.com>
---
M src/mainboard/hp/compaq_8200_elite_sff/Kconfig
M src/mainboard/hp/z220_sff_workstation/Kconfig
2 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/39073/1
diff --git a/src/mainboard/hp/compaq_8200_elite_sff/Kconfig b/src/mainboard/hp/compaq_8200_elite_sff/Kconfig
index e3b2ebd..6734d5b 100644
--- a/src/mainboard/hp/compaq_8200_elite_sff/Kconfig
+++ b/src/mainboard/hp/compaq_8200_elite_sff/Kconfig
@@ -19,6 +19,9 @@
select INTEL_GMA_HAVE_VBT
select MAINBOARD_USES_IFD_GBE_REGION
+config CBFS_SIZE
+ default 0x2F0000
+
config MAINBOARD_DIR
string
default "hp/compaq_8200_elite_sff"
diff --git a/src/mainboard/hp/z220_sff_workstation/Kconfig b/src/mainboard/hp/z220_sff_workstation/Kconfig
index dc288d6..8f28baf 100644
--- a/src/mainboard/hp/z220_sff_workstation/Kconfig
+++ b/src/mainboard/hp/z220_sff_workstation/Kconfig
@@ -30,6 +30,9 @@
hex
default 0x2a
+config CBFS_SIZE
+ default 0x570000
+
config MAINBOARD_DIR
string
default "hp/z220_sff_workstation"
--
To view, visit https://review.coreboot.org/c/coreboot/+/39073
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic1753a38212cc4961671fea11afe88265e73333b
Gerrit-Change-Number: 39073
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-MessageType: newchange
Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38388 )
Change subject: soc/intel/{apl,cnl,icl,skl,tgl}: Add comments for above 4GB mem range macro
......................................................................
soc/intel/{apl,cnl,icl,skl,tgl}: Add comments for above 4GB mem range macro
Change-Id: Ibe812031ea91932ec63adb030541b5ab5db8f425
Signed-off-by: Subrata Banik <subrata.banik(a)intel.com>
---
M src/soc/intel/apollolake/include/soc/iomap.h
M src/soc/intel/cannonlake/include/soc/iomap.h
M src/soc/intel/icelake/include/soc/iomap.h
M src/soc/intel/skylake/include/soc/iomap.h
M src/soc/intel/tigerlake/include/soc/iomap.h
5 files changed, 50 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/38388/1
diff --git a/src/soc/intel/apollolake/include/soc/iomap.h b/src/soc/intel/apollolake/include/soc/iomap.h
index e2fa462..6a617bd 100644
--- a/src/soc/intel/apollolake/include/soc/iomap.h
+++ b/src/soc/intel/apollolake/include/soc/iomap.h
@@ -60,6 +60,16 @@
#define EARLY_I2C_BASE_ADDRESS 0xfe020000
#define EARLY_I2C_BASE(x) (EARLY_I2C_BASE_ADDRESS + (0x1000 * (x)))
+/*
+ * Resource for the Top of Upper Usable DRAM (TOUUD)
+ * TOUUD base value is TOM minus all memory range as applicable
+ * (ME stolen memory, reclaim memory etc).
+ * Base is 2^37 = 128 GB.
+ * Length is 2^36 = 64 GB.
+ * The Host interface positively decodes an address towards DRAM if the incoming
+ * address is less than the value programmed in this register and greater than or
+ * equal to 4 GB.
+ */
#define ABOVE_4GB_MEM_BASE_ADDRESS (128ULL * GiB)
#define ABOVE_4GB_MEM_BASE_SIZE (64ULL * GiB)
diff --git a/src/soc/intel/cannonlake/include/soc/iomap.h b/src/soc/intel/cannonlake/include/soc/iomap.h
index c66cde4..a920940 100644
--- a/src/soc/intel/cannonlake/include/soc/iomap.h
+++ b/src/soc/intel/cannonlake/include/soc/iomap.h
@@ -68,6 +68,16 @@
#define HECI1_BASE_ADDRESS 0xfeda2000
+/*
+ * Resource for the Top of Upper Usable DRAM (TOUUD)
+ * TOUUD base value is TOM minus all memory range as applicable
+ * (ME stolen memory, reclaim memory etc).
+ * Base is 2^38 = 256 GB.
+ * Length is 2^38 = 256 GB.
+ * The Host interface positively decodes an address towards DRAM if the incoming
+ * address is less than the value programmed in this register and greater than or
+ * equal to 4 GB.
+ */
#define ABOVE_4GB_MEM_BASE_ADDRESS (256ULL * GiB)
#define ABOVE_4GB_MEM_BASE_SIZE (256ULL * GiB)
diff --git a/src/soc/intel/icelake/include/soc/iomap.h b/src/soc/intel/icelake/include/soc/iomap.h
index 50ba005..77a8851 100644
--- a/src/soc/intel/icelake/include/soc/iomap.h
+++ b/src/soc/intel/icelake/include/soc/iomap.h
@@ -61,6 +61,16 @@
#define VTD_BASE_ADDRESS 0xFED90000
#define VTD_BASE_SIZE 0x00004000
+/*
+ * Resource for the Top of Upper Usable DRAM (TOUUD)
+ * TOUUD base value is TOM minus all memory range as applicable
+ * (ME stolen memory, reclaim memory etc).
+ * Base is 2^38 = 256 GB.
+ * Length is 2^38 = 256 GB.
+ * The Host interface positively decodes an address towards DRAM if the incoming
+ * address is less than the value programmed in this register and greater than or
+ * equal to 4 GB.
+ */
#define ABOVE_4GB_MEM_BASE_ADDRESS (256ULL * GiB)
#define ABOVE_4GB_MEM_BASE_SIZE (256ULL * GiB)
diff --git a/src/soc/intel/skylake/include/soc/iomap.h b/src/soc/intel/skylake/include/soc/iomap.h
index b447d79..5cde8c1 100644
--- a/src/soc/intel/skylake/include/soc/iomap.h
+++ b/src/soc/intel/skylake/include/soc/iomap.h
@@ -75,6 +75,16 @@
#define PTT_TXT_BASE_ADDRESS 0xfed30800
#define PTT_PRESENT 0x00070000
+/*
+ * Resource for the Top of Upper Usable DRAM (TOUUD)
+ * TOUUD base value is TOM minus all memory range as applicable
+ * (ME stolen memory, reclaim memory etc).
+ * Base is 2^37 = 128 GB.
+ * Length is 2^36 = 64 GB.
+ * The Host interface positively decodes an address towards DRAM if the incoming
+ * address is less than the value programmed in this register and greater than or
+ * equal to 4 GB.
+ */
#define ABOVE_4GB_MEM_BASE_ADDRESS (128ULL * GiB)
#define ABOVE_4GB_MEM_BASE_SIZE (64ULL * GiB)
diff --git a/src/soc/intel/tigerlake/include/soc/iomap.h b/src/soc/intel/tigerlake/include/soc/iomap.h
index 72ac25f..72d0a6d 100644
--- a/src/soc/intel/tigerlake/include/soc/iomap.h
+++ b/src/soc/intel/tigerlake/include/soc/iomap.h
@@ -67,6 +67,16 @@
#define VTD_BASE_ADDRESS 0xFED90000
#define VTD_BASE_SIZE 0x00004000
+/*
+ * Resource for the Top of Upper Usable DRAM (TOUUD)
+ * TOUUD base value is TOM minus all memory range as applicable
+ * (ME stolen memory, reclaim memory etc).
+ * Base is 2^38 = 256 GB.
+ * Length is 2^38 = 256 GB.
+ * The Host interface positively decodes an address towards DRAM if the incoming
+ * address is less than the value programmed in this register and greater than or
+ * equal to 4 GB.
+ */
#define ABOVE_4GB_MEM_BASE_ADDRESS (256ULL * GiB)
#define ABOVE_4GB_MEM_BASE_SIZE (256ULL * GiB)
--
To view, visit https://review.coreboot.org/c/coreboot/+/38388
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibe812031ea91932ec63adb030541b5ab5db8f425
Gerrit-Change-Number: 38388
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-MessageType: newchange
HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/39072 )
Change subject: include/stdint.h: Remove old refrence to ROMCC
......................................................................
include/stdint.h: Remove old refrence to ROMCC
Change-Id: I00fdcee177c5d4b5e95bc3d0330fd8934eee2f0a
Signed-off-by: Elyes HAOUAS <ehaouas(a)noos.fr>
---
M src/include/stdint.h
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/39072/1
diff --git a/src/include/stdint.h b/src/include/stdint.h
index b534add..3c9cdec 100644
--- a/src/include/stdint.h
+++ b/src/include/stdint.h
@@ -14,9 +14,9 @@
#ifndef STDINT_H
#define STDINT_H
-/* romcc does not support long long, _Static_assert, or _Bool, so we must ifdef that code out.
- Also, GCC can provide its own implementation of stdint.h, so in theory we could use that
- instead of this custom file once romcc is no more. */
+/* TODO: GCC can provide its own implementation of stdint.h,
+ * so in theory we could use that
+ */
/* Fixed width integer types */
typedef signed char int8_t;
--
To view, visit https://review.coreboot.org/c/coreboot/+/39072
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I00fdcee177c5d4b5e95bc3d0330fd8934eee2f0a
Gerrit-Change-Number: 39072
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas(a)noos.fr>
Gerrit-MessageType: newchange