[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <BLU436-SMTP150B6E67EC4DEF91B1FEEABB9F20@phx.gbl>
Date: Fri, 3 Apr 2015 05:25:03 +0800
From: Chen Gang <xili_gchen_5257@...mail.com>
To: "realmz6@...il.com" <realmz6@...il.com>
CC: "adi-buildroot-devel@...ts.sourceforge.net"
<adi-buildroot-devel@...ts.sourceforge.net>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] blackfin: Kconfig: Let PLL_BYPASS and MPU depend on some
BF_REV of BF533
For allmodconfig, it uses BF533 which will cause 3 issues for common
checking:
- The first 2 issues are about PLL_BYPASS, it needs BF_REV_0_6 (which
just match the compiler's output for __SILICON_REVISION__).
- The last issue is about MPU, it needs BF_REV_0_5 or BF_REV_0_6 (which
just match the compiler's output for __SILICON_REVISION__).
The related error with allmodconfig:
CC arch/blackfin/mach-common/arch_checks.o
arch/blackfin/mach-common/arch_checks.c:24:3: error: #error "Sclk value selected is less than minimum. Please select a proper value for SCLK multiplier"
# error "Sclk value selected is less than minimum. Please select a proper value for SCLK multiplier"
^
arch/blackfin/mach-common/arch_checks.c:28:3: error: #error "ANOMALY 05000273, please make sure CCLK is at least 2x SCLK"
# error "ANOMALY 05000273, please make sure CCLK is at least 2x SCLK"
^
arch/blackfin/mach-common/arch_checks.c:51:3: error: #error the MPU will not function safely while Anomaly 05000263 applies
# error the MPU will not function safely while Anomaly 05000263 applies
^
Signed-off-by: Chen Gang <gang.chen.5i5j@...il.com>
---
arch/blackfin/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index af76634..26fbee7 100644
--- a/arch/blackfin/Kconfig
+++ b/arch/blackfin/Kconfig
@@ -449,7 +449,7 @@ config BFIN_KERNEL_CLOCK
config PLL_BYPASS
bool "Bypass PLL"
- depends on BFIN_KERNEL_CLOCK && (!BF60x)
+ depends on BFIN_KERNEL_CLOCK && (!BF60x) && ((!BF533) || BF_REV_0_6)
default n
config CLKIN_HALF
@@ -1112,6 +1112,7 @@ endchoice
comment "Memory Protection Unit"
config MPU
bool "Enable the memory protection unit"
+ depends on (!BF533) || BF_REV_0_6 || BF_REV_0_5
default n
help
Use the processor's MPU to protect applications from accessing
--
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists