1 comment:
File src/security/vboot/common.c:
Patch Set #3, 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 change 31329. To unsubscribe, or for help writing mail filters, visit settings.