diff options
author | Hung-Te Lin <hungte@chromium.org> | 2013-01-29 03:46:02 +0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-02-05 22:27:03 +0100 |
commit | 215d1d7c9b8fdd94582bdec711e98111d1db5bb7 (patch) | |
tree | 20dea02266a2ca010e57f3379e958e83134043d9 /util/cbfstool/elf.h | |
parent | 49fcd75564e8308d695cf44f54e0e92d693df69b (diff) |
cbfstool: Use cbfs_image API for "locate" command.
To support platforms without top-aligned address mapping like ARM, "locate"
command now outputs platform independent ROM offset by default. To retrieve x86
style top-aligned virtual address, add "-T".
To test:
cbfstool coreboot.rom locate -f stage -n stage -a 0x100000 -T
# Example output: 0xffffdc10
Change-Id: I474703c4197b36524b75407a91faab1194edc64d
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: http://review.coreboot.org/2213
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/cbfstool/elf.h')
0 files changed, 0 insertions, 0 deletions