[PATCH 2/5] ARM: at91: add missing break

Lucas Stach dev at lynxeye.de
Mon Apr 21 13:15:23 PDT 2014


Otherwise SAM A5d35 would be detected as A5d36.

Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 arch/arm/mach-at91/setup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index 7a7de9804556..076d0812b356 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm/mach-at91/setup.c
@@ -162,6 +162,7 @@ static void __init soc_detect(u32 dbgu_base)
 			break;
 		case ARCH_EXID_SAMA5D35:
 			at91_soc_initdata.subtype = AT91_SOC_SAMA5D35;
+			break;
 		case ARCH_EXID_SAMA5D36:
 			at91_soc_initdata.subtype = AT91_SOC_SAMA5D36;
 			break;
-- 
1.9.0




More information about the barebox mailing list