summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/sbc/sbc-ld4.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-uniphier/sbc/sbc-ld4.c')
-rw-r--r--arch/arm/mach-uniphier/sbc/sbc-ld4.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/sbc/sbc-ld4.c b/arch/arm/mach-uniphier/sbc/sbc-ld4.c
index d08b571e23..72e9743c8f 100644
--- a/arch/arm/mach-uniphier/sbc/sbc-ld4.c
+++ b/arch/arm/mach-uniphier/sbc/sbc-ld4.c
@@ -13,6 +13,9 @@ void uniphier_ld4_sbc_init(void)
{
u32 tmp;
+ if (!uniphier_sbc_is_enabled())
+ return;
+
uniphier_sbc_init_savepin();
/* system bus output enable */