diff mbox

[U-Boot,1/8] OMAP3: Correct SYSBOOT_MASK

Message ID 1323186582-2811-2-git-send-email-trini@ti.com
State Deferred
Delegated to: Tom Rini
Headers show

Commit Message

Tom Rini Dec. 6, 2011, 3:49 p.m. UTC
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 <trini@ti.com>
---
 arch/arm/include/asm/arch-omap3/cpu.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

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