.. | .. |
---|
12 | 12 | #define _XTENSA_PLATFORM_H |
---|
13 | 13 | |
---|
14 | 14 | #include <linux/types.h> |
---|
15 | | -#include <linux/pci.h> |
---|
16 | | - |
---|
17 | 15 | #include <asm/bootparam.h> |
---|
18 | 16 | |
---|
19 | 17 | /* |
---|
.. | .. |
---|
55 | 53 | extern void platform_heartbeat (void); |
---|
56 | 54 | |
---|
57 | 55 | /* |
---|
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 | | -/* |
---|
68 | 56 | * platform_calibrate_ccount calibrates cpu clock freq (CONFIG_XTENSA_CALIBRATE) |
---|
69 | 57 | */ |
---|
70 | 58 | extern void platform_calibrate_ccount (void); |
---|
.. | .. |
---|
74 | 62 | * jump to the reset vector. |
---|
75 | 63 | */ |
---|
76 | 64 | 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); |
---|
104 | 65 | |
---|
105 | 66 | #endif /* _XTENSA_PLATFORM_H */ |
---|