Skip to content
Commit 163fb376 authored by Andre Przywara's avatar Andre Przywara Committed by Tom Rini
Browse files

qfw: store loaded file size in environment variable



At the moment the QEMU firmware command just prints the size of the
loaded binaries on the console.
To go with all the other load methods, and many boot scripts'
expectations, also store the size of the file loaded last in the
environment variable "filesize".
We first put the kernel size in there, but overwrite this with the
initrd size, should we have one, because this is probably the more
prominent user of $filesize (in the booti or bootz command).

Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
parent 71858454
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment