Alex James has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60233 )
Change subject: util/cbfstool: Avoid duplicate ntohll/htonll definitions
......................................................................
util/cbfstool: Avoid duplicate ntohll/htonll definitions
macOS defines these (as macros) when including arpa/inet.h. This
resolves macro redefinition errors on macOS (tested on 10.15.7).
Change-Id: I54195865ab4042fcf83609fcf67ef8f33994d68e
Signed-off-by: Alex James <theracermaster(a)gmail.com>
---
M util/cbfstool/swab.h
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/33/60233/1
diff --git a/util/cbfstool/swab.h b/util/cbfstool/swab.h
index a45a767..88e41a4 100644
--- a/util/cbfstool/swab.h
+++ b/util/cbfstool/swab.h
@@ -21,8 +21,12 @@
#else
#include <arpa/inet.h>
#endif
+#ifndef ntohll
#define ntohll(x) (is_big_endian() ? (uint64_t)(x) : swab64(x))
+#endif
+#ifndef htonll
#define htonll(x) (is_big_endian() ? (uint64_t)(x) : swab64(x))
+#endif
/* casts are necessary for constants, because we never know how for sure
* how U/UL/ULL map to __u16, __u32, __u64. At least not in a portable way.
--
To view, visit https://review.coreboot.org/c/coreboot/+/60233
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I54195865ab4042fcf83609fcf67ef8f33994d68e
Gerrit-Change-Number: 60233
Gerrit-PatchSet: 1
Gerrit-Owner: Alex James <theracermaster(a)gmail.com>
Gerrit-MessageType: newchange
Attention is currently required from: Sean Rhodes.
Hello build bot (Jenkins), Andy Pont, Paul Menzel, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/58428
to look at the new patch set (#70).
Change subject: mainboard/starlabs: Add LabTop Mk IV
......................................................................
mainboard/starlabs: Add LabTop Mk IV
Tested using MrChromeBox's `uefipayload_202107` branch:
* Windows 10
* Ubuntu 20.04
* MX Linux 19.4
* Manjaro 21
No known issues.
https://starlabs.systems/pages/labtop-mk-iv-specification
Signed-off-by: Sean Rhodes <sean(a)starlabs.systems>
Change-Id: Idbaa907dc38dc521961806132f21b7a90324ec9c
---
M Documentation/mainboard/index.md
A Documentation/mainboard/starlabs/labtop_cml.md
M src/mainboard/starlabs/labtop/Kconfig
M src/mainboard/starlabs/labtop/Kconfig.name
M src/mainboard/starlabs/labtop/Makefile.inc
M src/mainboard/starlabs/labtop/dsdt.asl
A src/mainboard/starlabs/labtop/spd/Makefile.inc
A src/mainboard/starlabs/labtop/spd/empty_ddr4.spd.hex
A src/mainboard/starlabs/labtop/spd/micron-MT40A1G16KD-062E-E.spd.hex
A src/mainboard/starlabs/labtop/spd/samsung-K4A8G165WB-BCRC.spd.hex
A src/mainboard/starlabs/labtop/variants/cml/Makefile.inc
A src/mainboard/starlabs/labtop/variants/cml/board.fmd
A src/mainboard/starlabs/labtop/variants/cml/data.vbt
A src/mainboard/starlabs/labtop/variants/cml/devicetree.cb
A src/mainboard/starlabs/labtop/variants/cml/devtree.c
A src/mainboard/starlabs/labtop/variants/cml/gma-mainboard.ads
A src/mainboard/starlabs/labtop/variants/cml/gpio.c
A src/mainboard/starlabs/labtop/variants/cml/hda_verb.c
A src/mainboard/starlabs/labtop/variants/cml/romstage.c
19 files changed, 1,271 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/58428/70
--
To view, visit https://review.coreboot.org/c/coreboot/+/58428
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idbaa907dc38dc521961806132f21b7a90324ec9c
Gerrit-Change-Number: 58428
Gerrit-PatchSet: 70
Gerrit-Owner: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Reviewer: Andy Pont <andy.pont(a)sdcsystems.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-MessageType: newpatchset
Alex James has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/60220 )
Change subject: cbfstool: Fix compilation on macOS
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
> Maybe the commit can be split up into smaller chunks?
Sure, I can split up the swab.h/Makefile changes.
--
To view, visit https://review.coreboot.org/c/coreboot/+/60220
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id5997d6d00e12f9f960550e72333ec354593501c
Gerrit-Change-Number: 60220
Gerrit-PatchSet: 1
Gerrit-Owner: Alex James <theracermaster(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sun, 19 Dec 2021 21:39:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-MessageType: comment
Attention is currently required from: Sean Rhodes.
Hello build bot (Jenkins), Andy Pont, Paul Menzel, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/58428
to look at the new patch set (#69).
Change subject: mainboard/starlabs: Add LabTop Mk IV
......................................................................
mainboard/starlabs: Add LabTop Mk IV
Tested using MrChromeBox's `uefipayload_202107` branch:
* Windows 10
* Ubuntu 20.04
* MX Linux 19.4
* Manjaro 21
No known issues.
https://starlabs.systems/pages/labtop-mk-iv-specification
Signed-off-by: Sean Rhodes <sean(a)starlabs.systems>
Change-Id: Idbaa907dc38dc521961806132f21b7a90324ec9c
---
M Documentation/mainboard/index.md
A Documentation/mainboard/starlabs/labtop_cml.md
M src/mainboard/starlabs/labtop/Kconfig
M src/mainboard/starlabs/labtop/Kconfig.name
M src/mainboard/starlabs/labtop/Makefile.inc
M src/mainboard/starlabs/labtop/dsdt.asl
A src/mainboard/starlabs/labtop/spd/Makefile.inc
A src/mainboard/starlabs/labtop/spd/empty_ddr4.spd.hex
A src/mainboard/starlabs/labtop/spd/micron-MT40A1G16KD-062E-E.spd.hex
A src/mainboard/starlabs/labtop/spd/samsung-K4A8G165WB-BCRC.spd.hex
A src/mainboard/starlabs/labtop/variants/cml/Makefile.inc
A src/mainboard/starlabs/labtop/variants/cml/board.fmd
A src/mainboard/starlabs/labtop/variants/cml/data.vbt
A src/mainboard/starlabs/labtop/variants/cml/devicetree.cb
A src/mainboard/starlabs/labtop/variants/cml/devtree.c
A src/mainboard/starlabs/labtop/variants/cml/gma-mainboard.ads
A src/mainboard/starlabs/labtop/variants/cml/gpio.c
A src/mainboard/starlabs/labtop/variants/cml/hda_verb.c
A src/mainboard/starlabs/labtop/variants/cml/romstage.c
19 files changed, 1,079 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/58428/69
--
To view, visit https://review.coreboot.org/c/coreboot/+/58428
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idbaa907dc38dc521961806132f21b7a90324ec9c
Gerrit-Change-Number: 58428
Gerrit-PatchSet: 69
Gerrit-Owner: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Reviewer: Andy Pont <andy.pont(a)sdcsystems.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-MessageType: newpatchset
Attention is currently required from: Paul Menzel.
Alex James has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/60219 )
Change subject: commonlib: Add endian definitions for macOS
......................................................................
Patch Set 2:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/60219/comment/ebe00a07_a9f29c7f
PS1, Line 8:
> Please give a short motivation? Since what macOS version is it needed, and what version did you use?
Sorry, I should've provided a change description. I've updated it with some background info.
--
To view, visit https://review.coreboot.org/c/coreboot/+/60219
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I44d59869a4420030f3ce26118175304c680d57a1
Gerrit-Change-Number: 60219
Gerrit-PatchSet: 2
Gerrit-Owner: Alex James <theracermaster(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Comment-Date: Sun, 19 Dec 2021 21:11:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-MessageType: comment
Attention is currently required from: Andy Pont.
Sean Rhodes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/60123 )
Change subject: mb/starlabs/labtop: Tidy up GPIOs
......................................................................
Set Ready For Review
--
To view, visit https://review.coreboot.org/c/coreboot/+/60123
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia3678274dcd52285019fb3cf8ccd22617268ce1a
Gerrit-Change-Number: 60123
Gerrit-PatchSet: 10
Gerrit-Owner: Sean Rhodes <admin(a)starlabs.systems>
Gerrit-Reviewer: Andy Pont <andy.pont(a)sdcsystems.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Andy Pont <andy.pont(a)sdcsystems.com>
Gerrit-Comment-Date: Sun, 19 Dec 2021 21:08:23 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment