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

login
register
mail settings
Submitter Tom Rini
Date Dec. 6, 2011, 3:49 p.m.
Message ID <1323186582-2811-2-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/129714/
State Deferred
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - Dec. 6, 2011, 3:49 p.m.
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(-)

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