summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-12-15 02:48:51 -0800
committerMax Filippov <jcmvbkbc@gmail.com>2020-01-31 12:17:28 -0800
commit64716b9ec5ba3342d3a9f0464d2abb48de65b327 (patch)
treec7f61505d3a6a2dac96a43edf64f803c13c65fc0 /arch/xtensa/kernel
parente725331354924b3f720c8bb7ca579d44cc63e574 (diff)
downloadlinux-64716b9ec5ba3342d3a9f0464d2abb48de65b327.tar.bz2
xtensa: drop empty platform_* functions from platforms
Provide missing default implementation for platform_init and drop copies of default platform_init, platform_setup and platform_heartbeet from platforms/*/setup.c Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r--arch/xtensa/kernel/platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/platform.c b/arch/xtensa/kernel/platform.c
index 25fd2cf1fe08..ac1e0e566995 100644
--- a/arch/xtensa/kernel/platform.c
+++ b/arch/xtensa/kernel/platform.c
@@ -26,6 +26,7 @@
* (Please, refer to include/asm-xtensa/platform.h for more information)
*/
+_F(void, init, (bp_tag_t *first), { });
_F(void, setup, (char** cmd), { });
_F(void, restart, (void), { while(1); });
_F(void, halt, (void), { while(1); });