hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/xtensa/include/asm/platform.h
....@@ -12,8 +12,6 @@
1212 #define _XTENSA_PLATFORM_H
1313
1414 #include <linux/types.h>
15
-#include <linux/pci.h>
16
-
1715 #include <asm/bootparam.h>
1816
1917 /*
....@@ -55,16 +53,6 @@
5553 extern void platform_heartbeat (void);
5654
5755 /*
58
- * platform_pcibios_init is called to allow the platform to setup the pci bus.
59
- */
60
-extern void platform_pcibios_init (void);
61
-
62
-/*
63
- * platform_pcibios_fixup allows to modify the PCI configuration.
64
- */
65
-extern int platform_pcibios_fixup (void);
66
-
67
-/*
6856 * platform_calibrate_ccount calibrates cpu clock freq (CONFIG_XTENSA_CALIBRATE)
6957 */
7058 extern void platform_calibrate_ccount (void);
....@@ -74,32 +62,5 @@
7462 * jump to the reset vector.
7563 */
7664 void cpu_reset(void) __attribute__((noreturn));
77
-
78
-/*
79
- * Memory caching is platform-dependent in noMMU xtensa configurations.
80
- * The following set of functions should be implemented in platform code
81
- * in order to enable coherent DMA memory operations when CONFIG_MMU is not
82
- * enabled. Default implementations do nothing and issue a warning.
83
- */
84
-
85
-/*
86
- * Check whether p points to a cached memory.
87
- */
88
-bool platform_vaddr_cached(const void *p);
89
-
90
-/*
91
- * Check whether p points to an uncached memory.
92
- */
93
-bool platform_vaddr_uncached(const void *p);
94
-
95
-/*
96
- * Return pointer to an uncached view of the cached sddress p.
97
- */
98
-void *platform_vaddr_to_uncached(void *p);
99
-
100
-/*
101
- * Return pointer to a cached view of the uncached sddress p.
102
- */
103
-void *platform_vaddr_to_cached(void *p);
10465
10566 #endif /* _XTENSA_PLATFORM_H */