From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Tue, 8 Apr 2014 00:00:13 +0200 Subject: [U-Boot] [PATCH V2 1/2] bootstage: arm: fix fdt stashing code In-Reply-To: <1392823017-72688-2-git-send-email-sessyargc+u-boot@gmail.com> References: <1392823017-72688-1-git-send-email-sessyargc+u-boot@gmail.com> <1392823017-72688-2-git-send-email-sessyargc+u-boot@gmail.com> 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 Hi Rommel, On Thu, 20 Feb 2014 00:16:56 +0900, Rommel G Custodio wrote: > The conditional is using a variable that is not defined. > > Signed-off-by: Rommel G Custodio > --- > arch/arm/lib/bootm.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c > index a8295bf..7f1b2e0 100644 > --- a/arch/arm/lib/bootm.c > +++ b/arch/arm/lib/bootm.c > @@ -71,8 +71,7 @@ static void announce_and_cleanup(int fake) > "(fake run for tracing)" : ""); > bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, "start_kernel"); > #ifdef CONFIG_BOOTSTAGE_FDT > - if (flag == BOOTM_STATE_OS_FAKE_GO) > - bootstage_fdt_add_report(); > + bootstage_fdt_add_report(); > #endif > #ifdef CONFIG_BOOTSTAGE_REPORT > bootstage_report(); Applied to u-boot-arm/master, thanks! Amicalement, -- Albert.