Abhay Kumar has posted comments on this change. ( https://review.coreboot.org/21628 )
Change subject: soc/intel/cannonlake: Add FSP GOP support.
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/#/c/21628/1/src/soc/intel/cannonlake/chip.c
File src/soc/intel/cannonlake/chip.c:
https://review.coreboot.org/#/c/21628/1/src/soc/intel/cannonlake/chip.c@172
PS1, Line 172: if (vbt)
> that will be working? Seems like different scope.
Yeah this will free memory and since VBT is global we can access. This is same as reef.
--
To view, visit https://review.coreboot.org/21628
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf836d683ae00cd034c853bc9ce965d4de5f7413
Gerrit-Change-Number: 21628
Gerrit-PatchSet: 2
Gerrit-Owner: Abhay Kumar <abhay.kumar(a)intel.com>
Gerrit-Reviewer: Abhay Kumar <abhay.kumar(a)intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik(a)intel.com>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Surendranath R Gurivireddy <surendranath.r.gurivireddy(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Thu, 21 Sep 2017 18:55:47 +0000
Gerrit-HasComments: Yes
Martin Roth has submitted this change and it was merged. ( https://review.coreboot.org/21585 )
Change subject: Makefile: Don't rebuild when generating tags or file list
......................................................................
Makefile: Don't rebuild when generating tags or file list
Generating a project file list used to do a rebuild of the project.
Instead, just make sure there's a coreboot.rom file present and if
it is, generate the list.
Change-Id: I9cc12ef3d1990c3422625630451b2a7b8d77829c
Signed-off-by: Martin Roth <martinroth(a)google.com>
Reviewed-on: https://review.coreboot.org/21585
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi(a)google.com>
---
M Makefile
1 file changed, 6 insertions(+), 3 deletions(-)
Approvals:
build bot (Jenkins): Verified
Patrick Georgi: Looks good to me, approved
diff --git a/Makefile b/Makefile
index 383d583..4ad0177 100644
--- a/Makefile
+++ b/Makefile
@@ -369,13 +369,16 @@
$(shell mkdir -p $(KCONFIG_SPLITCONFIG) $(objk)/lxdialog $(additional-dirs) $(alldirs))
endif
-$(obj)/project_filelist.txt: all
+$(obj)/project_filelist.txt:
+ if [ -z "$(wildcard $(obj)/coreboot.rom)" ]; then \
+ echo "*** Error: Project must be built before generating file list ***"; \
+ exit 1; \
+ fi
find $(obj) -name "*.d" -exec cat {} \; | \
sed 's/[:\\]/ /g' | sed 's/ /\n/g' | sort | uniq | \
grep -v '\.o$$' > $(obj)/project_filelist.txt
-filelist: clean
- $(MAKE) $(obj)/project_filelist.txt
+filelist: $(obj)/project_filelist.txt
printf "\nFiles used in build:\n"
cat $(obj)/project_filelist.txt
--
To view, visit https://review.coreboot.org/21585
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I9cc12ef3d1990c3422625630451b2a7b8d77829c
Gerrit-Change-Number: 21585
Gerrit-PatchSet: 2
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Martin Roth has submitted this change and it was merged. ( https://review.coreboot.org/21601 )
Change subject: Makefile.inc: Add left shift macro
......................................................................
Makefile.inc: Add left shift macro
Add a macro to shift a value to the left by a specified number of bits.
Change-Id: Ib3fb43b620f31fee2a41f00ddf7294edc81a60f6
Signed-off-by: Martin Roth <martinroth(a)google.com>
Reviewed-on: https://review.coreboot.org/21601
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Julius Werner <jwerner(a)chromium.org>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
---
M Makefile.inc
1 file changed, 15 insertions(+), 13 deletions(-)
Approvals:
build bot (Jenkins): Verified
Julius Werner: Looks good to me, approved
Jonathan Neuschäfer: Looks good to me, but someone else must approve
diff --git a/Makefile.inc b/Makefile.inc
index 88a9a63..cdebd1b 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -113,19 +113,20 @@
# macros work on all formats understood by printf(1)
# values are space separated if using more than one value
#
-# int-add: adds an arbitrary length list of integers
-# int-subtract: subtracts the the second of two integers from the first
-# int-multiply: multiplies an arbitrary length list of integers
-# int-divide: divides the first integer by the second
-# int-remainder: arithmetic remainder of the first number divided by the second
-# int-lt: 1 if the first value is less than the second. 0 otherwise
-# int-gt: 1 if the first values is greater than the second. 0 otherwise
-# int-eq: 1 if the two values are equal. 0 otherwise
-# int-align: align $1 to $2 units
-# file-size: returns the filesize of the given file
-# tolower: returns the value in all lowercase
-# toupper: returns the value in all uppercase
-# ws_to_under: returns the value with any whitespace changed to underscores
+# int-add: adds an arbitrary length list of integers
+# int-subtract: subtracts the the second of two integers from the first
+# int-multiply: multiplies an arbitrary length list of integers
+# int-divide: divides the first integer by the second
+# int-remainder: arithmetic remainder of the first number divided by the second
+# int-shift-left: Shift $1 left by $2 bits
+# int-lt: 1 if the first value is less than the second. 0 otherwise
+# int-gt: 1 if the first values is greater than the second. 0 otherwise
+# int-eq: 1 if the two values are equal. 0 otherwise
+# int-align: align $1 to $2 units
+# file-size: returns the filesize of the given file
+# tolower: returns the value in all lowercase
+# toupper: returns the value in all uppercase
+# ws_to_under: returns the value with any whitespace changed to underscores
_toint=$(shell printf "%d" $1)
_int-add2=$(shell expr $(call _toint,$1) + $(call _toint,$2))
int-add=$(if $(filter 1,$(words $1)),$(strip $1),$(call int-add,$(call _int-add2,$(word 1,$1),$(word 2,$1)) $(wordlist 3,$(words $1),$1)))
@@ -134,6 +135,7 @@
int-multiply=$(if $(filter 1,$(words $1)),$(strip $1),$(call int-multiply,$(call _int-multiply2,$(word 1,$1),$(word 2,$1)) $(wordlist 3,$(words $1),$1)))
int-divide=$(if $(filter 1,$(words $1)),$(strip $1),$(shell expr $(call _toint,$(word 1,$1)) / $(call _toint,$(word 2,$1))))
int-remainder=$(if $(filter 1,$(words $1)),$(strip $1),$(shell expr $(call _toint,$(word 1,$1)) % $(call _toint,$(word 2,$1))))
+int-shift-left=$(shell echo "$(call _toint,$(word 1, $1)) * (2 ^ $(call _toint,$(word 2, $1)))" | bc)
int-lt=$(if $(filter 1,$(words $1)),$(strip $1),$(shell expr $(call _toint,$(word 1,$1)) \< $(call _toint,$(word 2,$1))))
int-gt=$(if $(filter 1,$(words $1)),$(strip $1),$(shell expr $(call _toint,$(word 1,$1)) \> $(call _toint,$(word 2,$1))))
int-eq=$(if $(filter 1,$(words $1)),$(strip $1),$(shell expr $(call _toint,$(word 1,$1)) = $(call _toint,$(word 2,$1))))
--
To view, visit https://review.coreboot.org/21601
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib3fb43b620f31fee2a41f00ddf7294edc81a60f6
Gerrit-Change-Number: 21601
Gerrit-PatchSet: 2
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>