summaryrefslogtreecommitdiff
path: root/include/configs/P2041RDB.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-24 17:38:18 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-05-27 14:40:09 +0800
commit9dc2355e515d2026b40da3beab5b9ebaef854c4c (patch)
tree33924b0203609a57a36d05056df4d12d57404bc7 /include/configs/P2041RDB.h
parenta2c528fe8a2187abf444627f964b5b727bf5fd2b (diff)
cbfs: Unify the two header loaders
These two functions have mostly the same code. Pull this out into a common function. Also make this function zero the private data so that callers don't have to do it. Finally, update cbfs_load_header_ptr() to take the base of the ROM as its parameter, which makes more sense than passing the address of the header within the ROM. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/configs/P2041RDB.h')
0 files changed, 0 insertions, 0 deletions