Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31329 )
Change subject: vboot: copy data structures to CBMEM for downstream use
......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/#/c/31329/3/src/security/vboot/common.c
File src/security/vboot/common.c:
https://review.coreboot.org/#/c/31329/3/src/security/vboot/common.c@51
PS3, Line 51: if (ENV_PRE_RAM)
So, actually, this should be ENV_CACHE_AS_RAM after all, so that you'll still return the SRAM buffer […]
Sorry, I confused myself. ENV_CACHE_AS_RAM is always 0 for SRAM boards, which is of course not what I wanted. I wanted always 1.
Maybe we should add a new helper function somewhere to cover this case, something like preram_symbols_accessible() (true iff (!CACHE_AS_RAM || ENV_PRE_RAM)). Maybe just throw it in <symbols.h>.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/31329
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I62c11268a83927bc00ae9bd93b1b31363b38e8cf
Gerrit-Change-Number: 31329
Gerrit-PatchSet: 3
Gerrit-Owner: Joel Kitching
kitching@google.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Duncan Laurie
dlaurie@chromium.org
Gerrit-Reviewer: Joel Kitching
kitching@google.com
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Randall Spangler
rspangler@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Thu, 14 Feb 2019 01:07:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Julius Werner
jwerner@chromium.org
Gerrit-MessageType: comment