From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marian Balakowicz Date: Fri, 29 Feb 2008 15:24:50 +0100 Subject: [U-Boot-Users] [PATCH 4/9] [new uImage] rework error handling so common functions don't reset In-Reply-To: <1204170711-2057-5-git-send-email-galak@kernel.crashing.org> References: <1204170711-2057-1-git-send-email-galak@kernel.crashing.org> <1204170711-2057-2-git-send-email-galak@kernel.crashing.org> <1204170711-2057-3-git-send-email-galak@kernel.crashing.org> <1204170711-2057-4-git-send-email-galak@kernel.crashing.org> <1204170711-2057-5-git-send-email-galak@kernel.crashing.org> Message-ID: <47C815B2.8000000@semihalf.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Kumar Gala wrote: > Changed image_get_ramdisk() to just return NULL on error and have > get_ramdisk() propogate that error to the caller. It's left to the > caller to call do_reset() if it wants to. > > Also moved calling do_reset() in get_fdt() and fdt_relocate() on ppc > to a common location. In the future we will change get_fdt() and > fdt_relocate() to return success/failure and not call do_reset() at all. > > Signed-off-by: Kumar Gala Acked-by: Marian Balakowicz m.