Hello Nicolas Boichat,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/46581
to review the following change.
Change subject: HACK: First set pwren to 0
......................................................................
HACK: First set pwren to 0
Maybe not 100% necessary, but should still be good practise.
BUG=b:155713214
TEST=boot asurada
Change-Id: Ib8b3366795ae876227546be393681d8ac404e51b
---
M src/mainboard/google/asurada/panel_anx7625.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/81/46581/1
diff --git a/src/mainboard/google/asurada/panel_anx7625.c b/src/mainboard/google/asurada/panel_anx7625.c
index 0145859..10aa305 100644
--- a/src/mainboard/google/asurada/panel_anx7625.c
+++ b/src/mainboard/google/asurada/panel_anx7625.c
@@ -18,6 +18,7 @@
gpio_output(GPIO_PP3300_PANEL, 1);
/* Turn on bridge */
+ gpio_output(GPIO_MIPIBRDG_PWREN, 0);
gpio_output(GPIO_MIPIBRDG_RST_L_1V8, 0);
gpio_output(GPIO_MIPIBRDG_PP1000_EN, 1);
gpio_output(GPIO_MIPIBRDG_PP1800_EN, 1);
--
To view, visit https://review.coreboot.org/c/coreboot/+/46581
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib8b3366795ae876227546be393681d8ac404e51b
Gerrit-Change-Number: 46581
Gerrit-PatchSet: 1
Gerrit-Owner: yongqiang niu <yongqiang.niu(a)mediatek.com>
Gerrit-Reviewer: Nicolas Boichat <drinkcat(a)chromium.org>
Gerrit-MessageType: newchange
Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43281 )
Change subject: soc/amd/picasso: Drop the inclusion of entry16.ld and reset16.ld
......................................................................
soc/amd/picasso: Drop the inclusion of entry16.ld and reset16.ld
This change drops the inclusion of entry16.ld and reset16.ld instead
adds the content of those files directly in memlayout.ld in
picasso. This is done to allow the work for top-aligning bootblock to
happen independent of Picasso layout. Once that is complete, Picasso
layout can be re-evaluated to see if it can make use of the common
bootblock linker file includes.
TEST=Verified that coreboot.rom generated using --timeless is the same
with and without this change for trembyle.
Change-Id: Ib1218b24a06d0f69b856fb21458a6183fd21fcbc
Signed-off-by: Furquan Shaikh <furquan(a)google.com>
---
M src/soc/amd/picasso/memlayout.ld
1 file changed, 16 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/81/43281/1
diff --git a/src/soc/amd/picasso/memlayout.ld b/src/soc/amd/picasso/memlayout.ld
index 6f43ba1..b7f9167 100644
--- a/src/soc/amd/picasso/memlayout.ld
+++ b/src/soc/amd/picasso/memlayout.ld
@@ -95,7 +95,20 @@
}
#if ENV_BOOTBLOCK
-/* Bootblock specific scripts which provide more SECTION directives. */
-#include <cpu/x86/16bit/entry16.ld>
-#include <cpu/x86/16bit/reset16.ld>
+
+gdtptr16_offset = gdtptr16 & 0xffff;
+nullidt_offset = nullidt & 0xffff;
+
+SECTIONS {
+ /* Trigger an error if I have an unuseable start address */
+ _TOO_LOW = CONFIG_X86_RESET_VECTOR - 0xfff0;
+ _bogus = ASSERT(_start16bit >= _TOO_LOW, "_start16bit too low. Please report.");
+
+ . = CONFIG_X86_RESET_VECTOR;
+ .reset . : {
+ *(.reset);
+ . = 15;
+ BYTE(0x00);
+ }
+}
#endif /* ENV_BOOTBLOCK */
--
To view, visit https://review.coreboot.org/c/coreboot/+/43281
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib1218b24a06d0f69b856fb21458a6183fd21fcbc
Gerrit-Change-Number: 43281
Gerrit-PatchSet: 1
Gerrit-Owner: Furquan Shaikh <furquan(a)google.com>
Gerrit-MessageType: newchange