[coreboot-gerrit] Change in coreboot[master]: soc/intel/common: Add sanity check of PCR_BASE_ADDRESS

Lijian Zhao (Code Review) gerrit at coreboot.org
Sat May 13 05:04:14 CEST 2017


Lijian Zhao has posted comments on this change. ( https://review.coreboot.org/19684 )

Change subject: soc/intel/common: Add sanity check of PCR_BASE_ADDRESS
......................................................................


Patch Set 1:

(1 comment)

https://review.coreboot.org/#/c/19684/1/src/soc/intel/common/block/pcr/pcr.c
File src/soc/intel/common/block/pcr/pcr.c:

PS1, Line 27: 	#if(CONFIG_PCR_BASE_ADDRESS ==0)
            : 	#error "PCR_BASE_ADDRESS need to be non-zero!"
            : 	#endif
> This does not need to be in a function. Move it above all of this. Also, fi
Actually the build here have something can't be explained.
Even CONFIG_PCR_BASE_ADDRESS is not set, hence we can't find it in .config, but eventually in generated config.h, there will be #define CONFIG_PCR_BASE_ADDRESS 0, is that expected or can be explained?


-- 
To view, visit https://review.coreboot.org/19684
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I396aa1a3e89507c90e17229a986de5d2c0887c9c
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Lijian Zhao <lijian.zhao at intel.com>
Gerrit-Reviewer: Aaron Durbin <adurbin at chromium.org>
Gerrit-Reviewer: Andrey Petrov <andrey.petrov at intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik at intel.com>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao at intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-HasComments: Yes



More information about the coreboot-gerrit mailing list