diff options
author | Aaron Durbin <adurbin@chromium.org> | 2017-08-01 10:27:10 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-08-04 04:29:57 +0000 |
commit | dfdea2aa40ab5bebea580601f6cef70bec25e177 (patch) | |
tree | 23682d5d296c79f2a2bb71c98b4fd5300fdea99f /src/cpu/qemu-x86 | |
parent | 403fdbc2265fc1192798cec0878c8e9b587732e3 (diff) |
lib/cbmem: provide optional cbmem top initialization hook
Provide a hook to allow an optional one-time cbmem_top() initialization.
The new function, cbmem_top_init(), is called on the first expected
initialization of cbmem based on the Kconfig options LATE_CBMEM_INIT
and EARLY_CBMEM_INIT.
Change-Id: I89edd2d11f226217c8e2aaca829b4f375a2cff28
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: John Zhao <john.zhao@intel.com>
Reviewed-on: https://review.coreboot.org/20847
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/cpu/qemu-x86')
0 files changed, 0 insertions, 0 deletions