summaryrefslogtreecommitdiff
path: root/util/exynos
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2018-04-03 00:08:12 -0600
committerPatrick Georgi <pgeorgi@google.com>2018-04-16 08:39:21 +0000
commit4677f6bbfa412bbdaa6f2fdf65e45e83eb9f6fb3 (patch)
treef32f28f3c3ab815adf4672c15bef203e59be7269 /util/exynos
parent99b65668f990a04ef524c2303e2894d783aa1730 (diff)
lib/bootmem: tightly couple bootmem_init to bootmem_write_memory_table
In https://review.coreboot.org/25383 people were confused about the ordering of bootmem calls w.r.t. when entries are exposed to the OS. To alleviate this add a notion of bootmem being initialized. In addition to that, only mark bootmem initialized when bootmem_write_memory_table() is called. Any other calls to bootmem before that will report an error on the console. Change-Id: I5bc31f555038ccabb82d902c54f95858679b1695 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/25503 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'util/exynos')
0 files changed, 0 insertions, 0 deletions