Attention is currently required from: Jincheng Li.
Hello Jincheng Li,
I'd like you to do a code review.
Please visit
https://review.coreboot.org/c/coreboot/+/86568?usp=email
to review the following change.
Change subject: util/cbfstool: Handle unaligned component adding by do_cbfs_locate
......................................................................
util/cbfstool: Handle unaligned component adding by do_cbfs_locate
Unaligned component adding was originally handled by cbfs_add_entry.
do_cbfs_locate is also able to handle unaligned component adding
when alignment is not assigned, where cbfs_locate_entry will
find en eligible entry assuming alignment = 1 (unaligned).
Change-Id: Ifbf9017170833d7786eb95922554ddc86d2a5f8b
Signed-off-by: Shuo Liu <shuo.liu(a)intel.com>
Signed-off-by: Jincheng Li <jincheng.li(a)intel.com>
---
M util/cbfstool/cbfstool.c
1 file changed, 4 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/86568/1
diff --git a/util/cbfstool/cbfstool.c b/util/cbfstool/cbfstool.c
index 783c7d9..9acfd26 100644
--- a/util/cbfstool/cbfstool.c
+++ b/util/cbfstool/cbfstool.c
@@ -879,8 +879,10 @@
* do_cbfs_locate(). In this case, it needs to ensure that the location found can fit
* the CBFS file in its final form (after any compression and conversion).
*
- * 3. If --align was passed and the offset is still undecided at this point,
+ * 3. If the offset is still undecided at this point,
* do_cbfs_locate() is called to find an appropriately aligned location.
+ * if alignment is not assigned, do_cbfs_locate/cbfs_locate_entry will assume
+ * alignment = 1 (unaligned).
*
* 4. If |offset| is still 0 at the end, cbfs_add_entry() will find the first available
* location that fits.
@@ -968,7 +970,7 @@
}
/* This needs to run after convert() to take compression into account. */
- if (!offset && param.alignment)
+ if (!offset)
if (do_cbfs_locate(&offset, buffer_size(&buffer)))
goto error;
--
To view, visit https://review.coreboot.org/c/coreboot/+/86568?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ifbf9017170833d7786eb95922554ddc86d2a5f8b
Gerrit-Change-Number: 86568
Gerrit-PatchSet: 1
Gerrit-Owner: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: Jincheng Li <jincheng.li(a)intel.com>
Gerrit-Attention: Jincheng Li <jincheng.li(a)intel.com>
Attention is currently required from: Subrata Banik.
Paz Zcharya has posted comments on this change by Paz Zcharya. ( https://review.coreboot.org/c/coreboot/+/86563?usp=email )
Change subject: chromeos/Kconfig: BMP_LOGO only if using FSP
......................................................................
Patch Set 2:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/86563/comment/a75ffa39_e1845776?us… :
PS2, Line 11: intel-
> intel
remove the `-`?
File src/vendorcode/google/chromeos/Kconfig:
https://review.coreboot.org/c/coreboot/+/86563/comment/56217051_9bc525fb?us… :
PS2, Line 84: default n
> how about adding a `depends on PLATFORM_USES_FSP2_0`
But if I make that change, wouldn't it prevent the code from functioning correctly on non-FSP systems?
--
To view, visit https://review.coreboot.org/c/coreboot/+/86563?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ic1d5118401981917d86e09b4b3d2bab5af052d6e
Gerrit-Change-Number: 86563
Gerrit-PatchSet: 2
Gerrit-Owner: Paz Zcharya <pazz(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Comment-Date: Mon, 24 Feb 2025 02:15:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Subrata Banik <subratabanik(a)google.com>
Attention is currently required from: Intel coreboot Reviewers, Name of user not set #1005756, Patrick Rudolph.
Shuo Liu has posted comments on this change by Name of user not set #1005756. ( https://review.coreboot.org/c/coreboot/+/86562?usp=email )
Change subject: src/cpu/intel/car/romstage.c: Refactor stack guard code in romstage
......................................................................
Patch Set 2: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/86562?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I754e422c0023cd7824dd6109f031239756acff4b
Gerrit-Change-Number: 86562
Gerrit-PatchSet: 2
Gerrit-Owner: Name of user not set #1005756
Gerrit-Reviewer: Intel coreboot Reviewers <intel_coreboot_reviewers(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph
Gerrit-Reviewer: Shuo Liu <shuo.liu(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Intel coreboot Reviewers <intel_coreboot_reviewers(a)intel.com>
Gerrit-Attention: Patrick Rudolph
Gerrit-Attention: Name of user not set #1005756
Gerrit-Comment-Date: Mon, 24 Feb 2025 02:14:04 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Paz Zcharya.
Subrata Banik has posted comments on this change by Paz Zcharya. ( https://review.coreboot.org/c/coreboot/+/86563?usp=email )
Change subject: chromeos/Kconfig: BMP_LOGO only if using FSP
......................................................................
Patch Set 2:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/86563/comment/2c19cfbb_100692ff?us… :
PS2, Line 11: intel-
intel
File src/vendorcode/google/chromeos/Kconfig:
https://review.coreboot.org/c/coreboot/+/86563/comment/f6298a91_80c1600d?us… :
PS2, Line 84: default n
how about adding a `depends on PLATFORM_USES_FSP2_0`
--
To view, visit https://review.coreboot.org/c/coreboot/+/86563?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ic1d5118401981917d86e09b4b3d2bab5af052d6e
Gerrit-Change-Number: 86563
Gerrit-PatchSet: 2
Gerrit-Owner: Paz Zcharya <pazz(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Paz Zcharya <pazz(a)google.com>
Gerrit-Comment-Date: Mon, 24 Feb 2025 02:09:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: Dinesh Gehlot, Eric Lai, Jayvik Desai, Kapil Porwal, Nick Vaccaro, Subrata Banik.
Brian Hsu has posted comments on this change by Brian Hsu. ( https://review.coreboot.org/c/coreboot/+/86535?usp=email )
Change subject: mb/google/nissa/var/guren: Generate SPD ID for supported memory parts
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Dear all, If no concern, please kindly help to submit the CL. Thanks.
--
To view, visit https://review.coreboot.org/c/coreboot/+/86535?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ibc8626ea51e1143706b8c627f21d33c3ade6a232
Gerrit-Change-Number: 86535
Gerrit-PatchSet: 1
Gerrit-Owner: Brian Hsu <brian_hsu(a)pegatron.corp-partner.google.com>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Jayvik Desai <jayvik(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Daniel Peng <daniel_peng(a)pegatron.corp-partner.google.com>
Gerrit-CC: David Li <david_li(a)pegatron.corp-partner.google.com>
Gerrit-CC: Samuel Chen <samuel_chen(a)pegatron.corp-partner.google.com>
Gerrit-CC: Wayne3 Wang <wayne3_wang(a)pegatron.corp-partner.google.com>
Gerrit-Attention: Jayvik Desai <jayvik(a)google.com>
Gerrit-Attention: Eric Lai <ericllai(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Comment-Date: Mon, 24 Feb 2025 02:04:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: Qinghong Zeng.
hualin wei has posted comments on this change by hualin wei. ( https://review.coreboot.org/c/coreboot/+/86554?usp=email )
Change subject: mb/google/nissa/var/pujjoniru: Modify the gpio of GPIO_PCH_WP
......................................................................
Patch Set 2:
(1 comment)
This change is ready for review.
File src/mainboard/google/brya/variants/pujjoniru/gpio.c:
https://review.coreboot.org/c/coreboot/+/86554/comment/d3b1db08_85636753?us… :
PS1, Line 212: DECLARE_CROS_GPIOS(cros_gpios);
> `adding a line without newline at end of file`
Please fix.
--
To view, visit https://review.coreboot.org/c/coreboot/+/86554?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ic92ff33a5fde50a1a400043b2daba0414eb9e255
Gerrit-Change-Number: 86554
Gerrit-PatchSet: 2
Gerrit-Owner: hualin wei <weihualin(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: Qinghong Zeng <zengqinghong(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Qinghong Zeng <zengqinghong(a)huaqin.corp-partner.google.com>
Gerrit-Comment-Date: Mon, 24 Feb 2025 00:56:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No