Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42131 )
Change subject: mb/asrock/b85m_pro4: Correct HWM related settings
......................................................................
mb/asrock/b85m_pro4: Correct HWM related settings
Only one generic decode range is needed for the HWM. Also, pin 3 was
selected as fan input, but it is not connected. Use pin 93 instead,
because boardviews show that it is wired to the PWR_FAN1 connector.
Change-Id: I964a073efbfaa1d79d3483d59ad04fe674bcb275
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/mainboard/asrock/b85m_pro4/devicetree.cb
1 file changed, 2 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/42131/1
diff --git a/src/mainboard/asrock/b85m_pro4/devicetree.cb b/src/mainboard/asrock/b85m_pro4/devicetree.cb
index eec921ec..b17d290 100644
--- a/src/mainboard/asrock/b85m_pro4/devicetree.cb
+++ b/src/mainboard/asrock/b85m_pro4/devicetree.cb
@@ -26,9 +26,7 @@
device pci 03.0 on end # Mini-HD audio
chip southbridge/intel/lynxpoint
- register "gen1_dec" = "0x000c0291"
- register "gen2_dec" = "0x000c0241"
- register "gen3_dec" = "0x000c0251"
+ register "gen1_dec" = "0x000c0291" # Super I/O HWM
register "pirqa_routing" = "0x8b"
register "pirqb_routing" = "0x80"
register "pirqc_routing" = "0x83"
@@ -102,7 +100,7 @@
irq 0xf0 = 0x20
end
device pnp 2e.b on # HWM, LED
- irq 0x30 = 0xe1
+ irq 0x30 = 0x61 # + Fan RPM sense pins
io 0x60 = 0x0290
end
device pnp 2e.d off end # VID
--
To view, visit https://review.coreboot.org/c/coreboot/+/42131
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I964a073efbfaa1d79d3483d59ad04fe674bcb275
Gerrit-Change-Number: 42131
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: newchange
Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42482 )
Change subject: mb/asus/p8z77-v_lx2: Correct Super I/O settings
......................................................................
mb/asus/p8z77-v_lx2: Correct Super I/O settings
Compared against superiotool dumps with vendor firmware. Still boots.
Change-Id: I49f36b2805e36695d7a53865e87dfafdb897594e
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/mainboard/asus/p8z77-v_lx2/devicetree.cb
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/42482/1
diff --git a/src/mainboard/asus/p8z77-v_lx2/devicetree.cb b/src/mainboard/asus/p8z77-v_lx2/devicetree.cb
index 8f51e15..6898c73 100644
--- a/src/mainboard/asus/p8z77-v_lx2/devicetree.cb
+++ b/src/mainboard/asus/p8z77-v_lx2/devicetree.cb
@@ -68,13 +68,13 @@
device pnp 2e.6 off end # CIR
device pnp 2e.7 off end # GPIO6-8
device pnp 2e.8 off end # WDT1, GPIO0, GPIO1
- device pnp 2e.108 on end # GPIO0
- device pnp 2e.9 off end # GPIO1-8
+ device pnp 2e.108 off end # GPIO0
+ device pnp 2e.9 off end # GPIO8
device pnp 2e.109 off end # GPIO1
- device pnp 2e.209 off end # GPIO2
+ device pnp 2e.209 on end # GPIO2
device pnp 2e.309 off end # GPIO3
device pnp 2e.409 off end # GPIO4
- device pnp 2e.509 on end # GPIO5
+ device pnp 2e.509 off end # GPIO5
device pnp 2e.609 off end # GPIO6
device pnp 2e.709 off end # GPIO7
device pnp 2e.a on end # ACPI
--
To view, visit https://review.coreboot.org/c/coreboot/+/42482
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I49f36b2805e36695d7a53865e87dfafdb897594e
Gerrit-Change-Number: 42482
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: newchange
Martin Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42810 )
Change subject: soc/amd/picasso: Halt if workbuf is absent after psp_verstage
......................................................................
soc/amd/picasso: Halt if workbuf is absent after psp_verstage
Check for the workbuf in bootblock if psp_verstage is being used.
BUG=b:158124527
TEST=Build & boot Trembyle with psp_verstage
Signed-off-by: Martin Roth <martin(a)coreboot.org>
Change-Id: I0ec8d2c953bce4c44cde5102d2765e0ab9b5875e
---
M src/soc/amd/picasso/bootblock/bootblock.c
1 file changed, 17 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/42810/1
diff --git a/src/soc/amd/picasso/bootblock/bootblock.c b/src/soc/amd/picasso/bootblock/bootblock.c
index a3935cc..f633767 100644
--- a/src/soc/amd/picasso/bootblock/bootblock.c
+++ b/src/soc/amd/picasso/bootblock/bootblock.c
@@ -14,6 +14,11 @@
#include <amdblocks/amd_pci_mmconf.h>
#include <acpi/acpi.h>
+/* vboot includes directory may bot be in include path if vboot is not enabled */
+#if CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK)
+#include <2struct.h>
+#endif
+
asmlinkage void bootblock_resume_entry(void);
/* PSP performs the memory training and setting up DRAM map prior to x86 cores
@@ -123,5 +128,17 @@
u32 val = cpuid_eax(1);
printk(BIOS_DEBUG, "Family_Model: %08x\n", val);
+#if CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK)
+#include <2struct.h>
+ unsigned int *workbuf_location = (unsigned int *)CONFIG_PSP_SHAREDMEM_BASE;
+ if (*workbuf_location != VB2_SHARED_DATA_MAGIC) {
+ printk(BIOS_ERR,"ERROR: VBOOT workbuf not valid.\n");
+
+ printk(BIOS_DEBUG,"Signature: %#08x\n",*workbuf_location);
+
+ die("Halting.\n");
+ }
+#endif
+
fch_early_init();
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/42810
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0ec8d2c953bce4c44cde5102d2765e0ab9b5875e
Gerrit-Change-Number: 42810
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-MessageType: newchange