summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5pc1xx
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-01-11 18:37:08 -0700
committerSimon Glass <sjg@chromium.org>2019-02-09 12:50:21 -0700
commite2932310a58a3d2b2303024385401218078d5dc5 (patch)
treed95e3e1ca553c7ef3dfce04e2292cde164facb69 /arch/arm/mach-s5pc1xx
parenta42ff927a7bd66961691cca578d09c990eb4bc00 (diff)
exynos: Convert to use CONFIG_BLK
Move all exynos boards over to use CONFIG_BLK. This converts s5p_goni also, but adding dummy functions for pinmux and peripheral ID. This will not function correctly, but gives the maintainer more time to convert the board if desired. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pc1xx')
-rw-r--r--arch/arm/mach-s5pc1xx/Kconfig2
-rw-r--r--arch/arm/mach-s5pc1xx/Makefile1
-rw-r--r--arch/arm/mach-s5pc1xx/pinmux.c20
3 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pc1xx/Kconfig b/arch/arm/mach-s5pc1xx/Kconfig
index 04acdaad79..8cffced551 100644
--- a/arch/arm/mach-s5pc1xx/Kconfig
+++ b/arch/arm/mach-s5pc1xx/Kconfig
@@ -7,6 +7,8 @@ choice
config TARGET_S5P_GONI
bool "S5P Goni board"
select OF_CONTROL
+ select BLK
+ select DM_MMC
config TARGET_SMDKC100
bool "Support smdkc100 board"
diff --git a/arch/arm/mach-s5pc1xx/Makefile b/arch/arm/mach-s5pc1xx/Makefile
index a4be3fcbda..ab804604d5 100644
--- a/arch/arm/mach-s5pc1xx/Makefile
+++ b/arch/arm/mach-s5pc1xx/Makefile
@@ -10,3 +10,4 @@ obj-y = cache.o
obj-y += reset.o
obj-y += clock.o
+obj-y += pinmux.o
diff --git a/arch/arm/mach-s5pc1xx/pinmux.c b/arch/arm/mach-s5pc1xx/pinmux.c
new file mode 100644
index 0000000000..818d75164d
--- /dev/null
+++ b/arch/arm/mach-s5pc1xx/pinmux.c
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Dummy functions to keep s5p_goni building (although it won't work)
+ *
+ * Copyright 2018 Google LLC
+ * Written by Simon Glass <sjg@chromium.org>
+ */
+
+#include <common.h>
+#include <asm/arch/pinmux.h>
+
+int exynos_pinmux_config(int peripheral, int flags)
+{
+ return 0;
+}
+
+int pinmux_decode_periph_id(const void *blob, int node)
+{
+ return 0;
+}