Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33628
Change subject: arch-x86/smbios: use ALIGN_UP instead of ALIGN for better readability
......................................................................
arch-x86/smbios: use ALIGN_UP instead of ALIGN for better readability
ALIGN_UP is an alias for ALIGN.
Change-Id: Ie723ebe80f8f627021151413cb43adce6c88a0dc
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
---
M src/arch/x86/smbios.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/33628/1
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c
index 54c2b09..50dac7f 100644
--- a/src/arch/x86/smbios.c
+++ b/src/arch/x86/smbios.c
@@ -1150,12 +1150,12 @@
int max_struct_size = 0;
int handle = 0;
- current = ALIGN(current, 16);
+ current = ALIGN_UP(current, 16);
printk(BIOS_DEBUG, "%s: %08lx\n", __func__, current);
se = (struct smbios_entry *)current;
current += sizeof(struct smbios_entry);
- current = ALIGN(current, 16);
+ current = ALIGN_UP(current, 16);
tables = current;
update_max(len, max_struct_size, smbios_write_type0(¤t,
--
To view, visit https://review.coreboot.org/c/coreboot/+/33628
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie723ebe80f8f627021151413cb43adce6c88a0dc
Gerrit-Change-Number: 33628
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newchange
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33640 )
Change subject: superio/nuvoton/nct6791d: Add symbol to select COM port
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/33640/1/src/superio/nuvoton/common/early_se…
File src/superio/nuvoton/common/early_serial.c:
https://review.coreboot.org/#/c/33640/1/src/superio/nuvoton/common/early_se…
PS1, Line 74: pnp_write_config(dev, 0x2a, 0x00);
> I thought so, but has anybody initialized the superio at such an early stage? the other bits aren't […]
yeah, it probably shouldn't matter too much here. If I saw that correctly, compared to the default values also only the bits related to the serial port get changed, so it should be ok in the current state.
--
To view, visit https://review.coreboot.org/c/coreboot/+/33640
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I62dc18810026f9b1550da19950f66af605600ec8
Gerrit-Change-Number: 33640
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Maxim Polyakov <m.poliakov(a)yahoo.com>
Gerrit-Reviewer: Maxim Polyakov <max.senia.poliak(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 21 Jun 2019 11:20:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Felix Held <felix-coreboot(a)felixheld.de>
Comment-In-Reply-To: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: comment
Maxim Polyakov has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33640 )
Change subject: superio/nuvoton/nct6791d: Add symbol to select COM port
......................................................................
Patch Set 1: Code-Review+1
early console works well on the Asrock-H110M-DVS board
--
To view, visit https://review.coreboot.org/c/coreboot/+/33640
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I62dc18810026f9b1550da19950f66af605600ec8
Gerrit-Change-Number: 33640
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Maxim Polyakov <m.poliakov(a)yahoo.com>
Gerrit-Reviewer: Maxim Polyakov <max.senia.poliak(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 21 Jun 2019 10:42:34 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Xiang Wang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/33460
Change subject: Documentatioan: update stage handoff protocol
......................................................................
Documentatioan: update stage handoff protocol
Change-Id: I170fc16675c2701f6ea133cfce6e5fabdfb0e8d3
Signed-off-by: Xiang Wang <wxjstz(a)126.com>
---
M Documentation/arch/riscv/index.md
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/33460/1
diff --git a/Documentation/arch/riscv/index.md b/Documentation/arch/riscv/index.md
index 888651d..9a5de34 100644
--- a/Documentation/arch/riscv/index.md
+++ b/Documentation/arch/riscv/index.md
@@ -15,7 +15,7 @@
will have been done. These payloads rely on the SBI and can not replace it.
## Stage handoff protocol
-On entry to a stage or payload,
+On entry to a stage or payload (including SELF payloads),
* all harts are running.
* A0 is the hart ID.
* A1 is the pointer to the Flattened Device Tree (FDT).
--
To view, visit https://review.coreboot.org/c/coreboot/+/33460
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I170fc16675c2701f6ea133cfce6e5fabdfb0e8d3
Gerrit-Change-Number: 33460
Gerrit-PatchSet: 1
Gerrit-Owner: Xiang Wang <wxjstz(a)126.com>
Gerrit-MessageType: newchange