summaryrefslogtreecommitdiffstats
path: root/arch/m68k/Kconfig.machine
diff options
context:
space:
mode:
authorFinn Thain2019-01-15 05:18:56 +0100
committerGreg Kroah-Hartman2019-01-22 10:21:45 +0100
commitd3b41b6bb49ecbf74b6bda63e00bf17fdb4d3c47 (patch)
treea5b0f31d8348dbce9b22a014f0b3a1028f9e362c /arch/m68k/Kconfig.machine
parentmacintosh/via-cuda: Don't rely on Cuda to end a transfer (diff)
downloadkernel-qcow2-linux-d3b41b6bb49ecbf74b6bda63e00bf17fdb4d3c47.tar.gz
kernel-qcow2-linux-d3b41b6bb49ecbf74b6bda63e00bf17fdb4d3c47.tar.xz
kernel-qcow2-linux-d3b41b6bb49ecbf74b6bda63e00bf17fdb4d3c47.zip
m68k: Dispatch nvram_ops calls to Atari or Mac functions
A multi-platform kernel binary has to decide at run-time how to dispatch the arch_nvram_ops calls. Add a platform-independent arch_nvram_ops struct for this, to replace the atari-specific one. Enable CONFIG_HAVE_ARCH_NVRAM_OPS for Macs. Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Tested-by: Stan Johnson <userm57@yahoo.com> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/m68k/Kconfig.machine')
-rw-r--r--arch/m68k/Kconfig.machine1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/Kconfig.machine b/arch/m68k/Kconfig.machine
index ad584e3eb8f7..c01e103492fd 100644
--- a/arch/m68k/Kconfig.machine
+++ b/arch/m68k/Kconfig.machine
@@ -27,6 +27,7 @@ config MAC
bool "Macintosh support"
depends on MMU
select MMU_MOTOROLA if MMU
+ select HAVE_ARCH_NVRAM_OPS
help
This option enables support for the Apple Macintosh series of
computers (yes, there is experimental support now, at least for part