summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/sbc/sbc-ld11.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-uniphier/sbc/sbc-ld11.c')
-rw-r--r--arch/arm/mach-uniphier/sbc/sbc-ld11.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/sbc/sbc-ld11.c b/arch/arm/mach-uniphier/sbc/sbc-ld11.c
index 44d8a1e3bd..21972ac949 100644
--- a/arch/arm/mach-uniphier/sbc/sbc-ld11.c
+++ b/arch/arm/mach-uniphier/sbc/sbc-ld11.c
@@ -12,6 +12,9 @@
void uniphier_ld11_sbc_init(void)
{
+ if (!uniphier_sbc_is_enabled())
+ return;
+
uniphier_sbc_init_savepin();
/* necessary for ROM boot ?? */