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

Tom Rini trini at ti.com
Tue Dec 6 16:49:35 CET 2011


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 at ti.com>
---
 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



More information about the U-Boot mailing list