2 * Platform information definitions.
4 * 2006 (c) MontaVista Software, Inc.
5 * Vitaly Bordug <vbordug@ru.mvista.com>
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.
14 #include <sysdev/fsl_soc.h>
20 #if defined(CONFIG_8260)
21 #include <asm/mpc8260.h>
22 #elif defined(CONFIG_85xx)
23 #include <asm/mpc85xx.h>
26 #define cpm2_map(member) (&cpm2_immr->member)
27 #define cpm2_map_size(member, size) (&cpm2_immr->member)
28 #define cpm2_unmap(addr) do {} while(0)
32 #include <asm/8xx_immap.h>
33 #include <asm/mpc8xx.h>
35 extern immap_t __iomem *mpc8xx_immr;
37 #define immr_map(member) (&mpc8xx_immr->member)
38 #define immr_map_size(member, size) (&mpc8xx_immr->member)
39 #define immr_unmap(addr) do {} while (0)
42 static inline int uart_baudrate(void)
44 return get_baudrate();
47 static inline int uart_clock(void)