From: Kumar Gala Date: Wed, 10 Sep 2008 15:30:55 -0500 Subject: [U-Boot] [PATCH v2] powerpc: Fix bootm to boot up again with a Ramdisk In-Reply-To: <48C794BB.7080601@denx.de> References: <48C794BB.7080601@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sep 10, 2008, at 4:34 AM, Heiko Schocher wrote: > Patch > http://git.denx.de/?p=u-boot.git;a=commitdiff;h=2a1a2cb6e2b87ee550e6f27b647d23331dfd5e1b#patch3 > > didnt remove the dummy mem reservation in fdt_chosen, and > this stopped Linux from booting with a Ramdisk. This patch > fixes this, by deleting the useless dummy mem reservation. > > When booting with a Ramdisk, a fix offset FDT_RAMDISK_OVERHEAD > is now added to of_size, so we dont need anymore a dummy > mem reservation. > > Signed-off-by: Heiko Schocher > --- > > changes sinse last patch: > > - added comments from Wolfgang Denk > > common/cmd_fdt.c | 3 ++- > common/fdt_support.c | 4 +--- > include/fdt.h | 2 ++ > include/fdt_support.h | 2 +- > lib_ppc/bootm.c | 5 +++-- > 5 files changed, 9 insertions(+), 7 deletions(-) it would be nice in either the commit message or a comment how you came to the value of FDT_RAMDISK_OVERHEAD. - k