Fix off-by-one error in passing initrd end address via device tree
authorGrant Likely <grant.likely@linaro.org>
Mon, 28 Mar 2011 09:58:55 +0000 (09:58 +0000)
committerGerald Van Baren <gvb@unssw.com>
Tue, 26 Apr 2011 01:11:21 +0000 (21:11 -0400)
commitce6b27a874fe30e7126ae93c060277770ee85ced
treebf731254a31da996c854c14be9e5d4016df8a4be
parented59e58786cae9f8afcb575649afc65985beed4d
Fix off-by-one error in passing initrd end address via device tree

The initrd_end variable contains the address immediately *after* the
initrd blob, not the last address containing data.  This patch fixes
an inadvertent off-by-one when setting up the initrd reserved map.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
common/fdt_support.c