cmd: cbfs: fix reading the end_of_rom pointer for 64bit archs
authorAndre Heider <a.heider@gmail.com>
Thu, 15 Feb 2018 06:40:10 +0000 (07:40 +0100)
committerSimon Glass <sjg@chromium.org>
Sat, 31 Mar 2018 08:00:03 +0000 (16:00 +0800)
commit33222c8a2cef36d0651d85100d9e0eadbe73884c
tree997602d4f9c8da9a92139e3e1bdd6bf42173a3bc
parent1e656ad08c92c7b9db86bcc16eeb64fe5679f7c9
cmd: cbfs: fix reading the end_of_rom pointer for 64bit archs

The cast breaks the pointer on 64bit archs, so lets get rid of it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
cmd/cbfs.c