Browse Source

xtensa: drop unneeded platform/hardware.h headers

platform/hardware.h no longer supply any information for processor.h,
vectors.h, setup.c or vmlinux.lds.S, don't include it.
This header is now empty in the platforms/iss, so remove it altogether.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Max Filippov 7 years ago
parent
commit
fc862ee997

+ 0 - 1
arch/xtensa/include/asm/processor.h

@@ -11,7 +11,6 @@
 #define _XTENSA_PROCESSOR_H
 #define _XTENSA_PROCESSOR_H
 
 
 #include <variant/core.h>
 #include <variant/core.h>
-#include <platform/hardware.h>
 
 
 #include <linux/compiler.h>
 #include <linux/compiler.h>
 #include <asm/ptrace.h>
 #include <asm/ptrace.h>

+ 0 - 1
arch/xtensa/include/asm/vectors.h

@@ -19,7 +19,6 @@
 #define _XTENSA_VECTORS_H
 #define _XTENSA_VECTORS_H
 
 
 #include <variant/core.h>
 #include <variant/core.h>
-#include <platform/hardware.h>
 #include <asm/kmem_layout.h>
 #include <asm/kmem_layout.h>
 
 
 #if XCHAL_HAVE_PTP_MMU
 #if XCHAL_HAVE_PTP_MMU

+ 0 - 2
arch/xtensa/kernel/setup.c

@@ -47,8 +47,6 @@
 #include <asm/smp.h>
 #include <asm/smp.h>
 #include <asm/sysmem.h>
 #include <asm/sysmem.h>
 
 
-#include <platform/hardware.h>
-
 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
 struct screen_info screen_info = {
 struct screen_info screen_info = {
 	.orig_x = 0,
 	.orig_x = 0,

+ 1 - 1
arch/xtensa/kernel/vmlinux.lds.S

@@ -20,7 +20,7 @@
 
 
 #include <asm/vectors.h>
 #include <asm/vectors.h>
 #include <variant/core.h>
 #include <variant/core.h>
-#include <platform/hardware.h>
+
 OUTPUT_ARCH(xtensa)
 OUTPUT_ARCH(xtensa)
 ENTRY(_start)
 ENTRY(_start)
 
 

+ 0 - 18
arch/xtensa/platforms/iss/include/platform/hardware.h

@@ -1,18 +0,0 @@
-/*
- * include/asm-xtensa/platform-iss/hardware.h
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 2001 Tensilica Inc.
- */
-
-/*
- * This file contains the default configuration of ISS.
- */
-
-#ifndef _XTENSA_PLATFORM_ISS_HARDWARE_H
-#define _XTENSA_PLATFORM_ISS_HARDWARE_H
-
-#endif /* _XTENSA_PLATFORM_ISS_HARDWARE_H */