]> git.dujemihanovic.xyz Git - u-boot.git/commit
common/image.c: align usage of fdt_high with initrd_high
authorShawn Guo <shawn.guo@linaro.org>
Mon, 9 Jan 2012 21:54:08 +0000 (21:54 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 27 Feb 2012 20:19:24 +0000 (21:19 +0100)
commitfa34f6b25b3c92f27b245c52378a0d2af24aaa19
tree633f7e7a58730058e6b77e6800dcf41adc5e1bdb
parentba901df41b0d77088408c1f6aac65eaadd4d12a0
common/image.c: align usage of fdt_high with initrd_high

The commit message of a28afca (Add uboot "fdt_high" enviroment variable)
states that fdt_high behaves similarly to the existing initrd_high.
But fdt_high actually has an outstanding difference from initrd_high.
The former specifies the start address, while the later specifies the
end address.

As fdt_high and initrd_high will likely be used together, it'd be nice
to have them behave same.  The patch changes the behavior of fdt_high
to have it aligned with initrd_high.

The document of fdt_high in README is updated with an example to
demonstrate the usage of this environment variable.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Simon Glass <sjg@chromium.org>
README
common/image.c