diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-08-07 04:55:03 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-08-07 04:55:03 -0400 |
commit | 4fb8af10d0fd09372d52966b76922b9e82bbc950 (patch) | |
tree | d240e4d40357583e3f3eb228dccf20122a5b31ed /include/asm-powerpc/fs_pd.h | |
parent | f44f82e8a20b98558486eb14497b2f71c78fa325 (diff) | |
parent | 64a99d2a8c3ed5c4e39f3ae1cc682aa8fd3977fc (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
Diffstat (limited to 'include/asm-powerpc/fs_pd.h')
-rw-r--r-- | include/asm-powerpc/fs_pd.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/include/asm-powerpc/fs_pd.h b/include/asm-powerpc/fs_pd.h deleted file mode 100644 index 9361cd5342cc..000000000000 --- a/include/asm-powerpc/fs_pd.h +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | /* | ||
2 | * Platform information definitions. | ||
3 | * | ||
4 | * 2006 (c) MontaVista Software, Inc. | ||
5 | * Vitaly Bordug <vbordug@ru.mvista.com> | ||
6 | * | ||
7 | * This file is licensed under the terms of the GNU General Public License | ||
8 | * version 2. This program is licensed "as is" without any warranty of any | ||
9 | * kind, whether express or implied. | ||
10 | */ | ||
11 | |||
12 | #ifndef FS_PD_H | ||
13 | #define FS_PD_H | ||
14 | #include <sysdev/fsl_soc.h> | ||
15 | #include <asm/time.h> | ||
16 | |||
17 | #ifdef CONFIG_CPM2 | ||
18 | #include <asm/cpm2.h> | ||
19 | |||
20 | #if defined(CONFIG_8260) | ||
21 | #include <asm/mpc8260.h> | ||
22 | #endif | ||
23 | |||
24 | #define cpm2_map(member) (&cpm2_immr->member) | ||
25 | #define cpm2_map_size(member, size) (&cpm2_immr->member) | ||
26 | #define cpm2_unmap(addr) do {} while(0) | ||
27 | #endif | ||
28 | |||
29 | #ifdef CONFIG_8xx | ||
30 | #include <asm/8xx_immap.h> | ||
31 | #include <asm/mpc8xx.h> | ||
32 | |||
33 | extern immap_t __iomem *mpc8xx_immr; | ||
34 | |||
35 | #define immr_map(member) (&mpc8xx_immr->member) | ||
36 | #define immr_map_size(member, size) (&mpc8xx_immr->member) | ||
37 | #define immr_unmap(addr) do {} while (0) | ||
38 | #endif | ||
39 | |||
40 | static inline int uart_baudrate(void) | ||
41 | { | ||
42 | return get_baudrate(); | ||
43 | } | ||
44 | |||
45 | static inline int uart_clock(void) | ||
46 | { | ||
47 | return ppc_proc_freq; | ||
48 | } | ||
49 | |||
50 | #endif | ||