Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/40692 )
Change subject: nb/intel/haswell/pei_data.h: Add ULT system type ......................................................................
nb/intel/haswell/pei_data.h: Add ULT system type
Looks like 5 is a valid system type, as Google Beltino and Slippy are using it. According to comments on these mainboards' code, this value corresponds to ULT systems. So, add it to the comment on the pei_data struct, which was likely copied from Sandy Bridge and was not updated.
Change-Id: I3654bb6022839dba3e1499cf43e8beaa97d1def1 Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/northbridge/intel/haswell/pei_data.h 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/40692/1
diff --git a/src/northbridge/intel/haswell/pei_data.h b/src/northbridge/intel/haswell/pei_data.h index 17b7c18..455b043 100644 --- a/src/northbridge/intel/haswell/pei_data.h +++ b/src/northbridge/intel/haswell/pei_data.h @@ -81,7 +81,8 @@ uint32_t pmbase; uint32_t gpiobase; uint32_t temp_mmio_base; - uint32_t system_type; // 0 Mobile, 1 Desktop/Server + /* Board type: 0 => Mobile, 1 => Desktop/Server, 5 => ULT, Others => Reserved */ + uint32_t system_type; uint32_t tseg_size; uint8_t spd_addresses[4]; int boot_mode;
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40692 )
Change subject: nb/intel/haswell/pei_data.h: Add ULT system type ......................................................................
Patch Set 1: Code-Review+2
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40692 )
Change subject: nb/intel/haswell/pei_data.h: Add ULT system type ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40692/1/src/northbridge/intel/haswe... File src/northbridge/intel/haswell/pei_data.h:
https://review.coreboot.org/c/coreboot/+/40692/1/src/northbridge/intel/haswe... PS1, Line 84: Board type nit: should this match the variable name?
Felix Singer has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40692 )
Change subject: nb/intel/haswell/pei_data.h: Add ULT system type ......................................................................
Patch Set 1: Code-Review+1
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40692 )
Change subject: nb/intel/haswell/pei_data.h: Add ULT system type ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40692/1/src/northbridge/intel/haswe... File src/northbridge/intel/haswell/pei_data.h:
https://review.coreboot.org/c/coreboot/+/40692/1/src/northbridge/intel/haswe... PS1, Line 84: Board type
nit: should this match the variable name?
Looks like the MRC uses these values as board types, as they match the ones in this enum:
https://github.com/tianocore/edk2-platforms/blob/master/Silicon/Intel/Coffee...
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40692 )
Change subject: nb/intel/haswell/pei_data.h: Add ULT system type ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40692/1/src/northbridge/intel/haswe... File src/northbridge/intel/haswell/pei_data.h:
https://review.coreboot.org/c/coreboot/+/40692/1/src/northbridge/intel/haswe... PS1, Line 84: Board type
Looks like the MRC uses these values as board types, as they match the ones in this enum: […]
my point was that the comment says board name, but the variable is system_type, so there's an incongruity there.
Hello Felix Singer, build bot (Jenkins), Matt DeVillier, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40692
to look at the new patch set (#2).
Change subject: nb/intel/haswell/pei_data.h: Add ULT system type ......................................................................
nb/intel/haswell/pei_data.h: Add ULT system type
Looks like 5 is a valid system type, as Google Beltino and Slippy are using it. According to comments on these mainboards' code, this value corresponds to ULT systems. So, add it to the comment on the pei_data struct, which was likely copied from Sandy Bridge and was not updated.
Change-Id: I3654bb6022839dba3e1499cf43e8beaa97d1def1 Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/northbridge/intel/haswell/pei_data.h 1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/40692/2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40692 )
Change subject: nb/intel/haswell/pei_data.h: Add ULT system type ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40692/1/src/northbridge/intel/haswe... File src/northbridge/intel/haswell/pei_data.h:
https://review.coreboot.org/c/coreboot/+/40692/1/src/northbridge/intel/haswe... PS1, Line 84: Board type
my point was that the comment says board name, but the variable is system_type, so there's an incong […]
Done.
Note to self: Do not waste any more time on this struct. There are better things to do.
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40692 )
Change subject: nb/intel/haswell/pei_data.h: Add ULT system type ......................................................................
Patch Set 2: Code-Review+2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40692 )
Change subject: nb/intel/haswell/pei_data.h: Add ULT system type ......................................................................
Patch Set 2:
Patch Set 2: Code-Review+2
Thanks!
Angel Pons has submitted this change. ( https://review.coreboot.org/c/coreboot/+/40692 )
Change subject: nb/intel/haswell/pei_data.h: Add ULT system type ......................................................................
nb/intel/haswell/pei_data.h: Add ULT system type
Looks like 5 is a valid system type, as Google Beltino and Slippy are using it. According to comments on these mainboards' code, this value corresponds to ULT systems. So, add it to the comment on the pei_data struct, which was likely copied from Sandy Bridge and was not updated.
Change-Id: I3654bb6022839dba3e1499cf43e8beaa97d1def1 Signed-off-by: Angel Pons th3fanbus@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/40692 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Matt DeVillier matt.devillier@gmail.com --- M src/northbridge/intel/haswell/pei_data.h 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Matt DeVillier: Looks good to me, approved
diff --git a/src/northbridge/intel/haswell/pei_data.h b/src/northbridge/intel/haswell/pei_data.h index 17b7c18..643b830 100644 --- a/src/northbridge/intel/haswell/pei_data.h +++ b/src/northbridge/intel/haswell/pei_data.h @@ -81,7 +81,8 @@ uint32_t pmbase; uint32_t gpiobase; uint32_t temp_mmio_base; - uint32_t system_type; // 0 Mobile, 1 Desktop/Server + /* System type: 0 => Mobile, 1 => Desktop/Server, 5 => ULT, Others => Reserved */ + uint32_t system_type; uint32_t tseg_size; uint8_t spd_addresses[4]; int boot_mode;
9elements QA has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40692 )
Change subject: nb/intel/haswell/pei_data.h: Add ULT system type ......................................................................
Patch Set 3:
Automatic boot test returned (PASS/FAIL/TOTAL): 4/0/4 Emulation targets: "QEMU x86 q35/ich9" using payload TianoCore : SUCCESS : https://lava.9esec.io/r/2896 "QEMU x86 q35/ich9" using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/2895 "QEMU x86 i440fx/piix4" using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/2894 "QEMU AArch64" using payload LinuxBoot_u-root_kexec : SUCCESS : https://lava.9esec.io/r/2893
Please note: This test is under development and might not be accurate at all!