From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 6 Dec 2011 08:49:35 -0700 Subject: [U-Boot] [PATCH 1/8] OMAP3: Correct SYSBOOT_MASK In-Reply-To: <1323186582-2811-1-git-send-email-trini@ti.com> References: <1323186582-2811-1-git-send-email-trini@ti.com> Message-ID: <1323186582-2811-2-git-send-email-trini@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The comment in get_boot_type says that bit 5 indicates if we are peripheral or memory booting, but the mask wasn't including this. Fix. Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-omap3/cpu.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/include/asm/arch-omap3/cpu.h b/arch/arm/include/asm/arch-omap3/cpu.h index 84308e0..ea95a1e 100644 --- a/arch/arm/include/asm/arch-omap3/cpu.h +++ b/arch/arm/include/asm/arch-omap3/cpu.h @@ -78,7 +78,7 @@ struct ctrl_id { /* device type */ #define DEVICE_MASK (0x7 << 8) -#define SYSBOOT_MASK 0x1F +#define SYSBOOT_MASK 0x3F #define TST_DEVICE 0x0 #define EMU_DEVICE 0x1 #define HS_DEVICE 0x2 -- 1.7.0.4