+++ /dev/null
--/*
-- * Platform information definitions.
-- *
-- * 2006 (c) MontaVista Software, Inc.
-- * Vitaly Bordug <vbordug@ru.mvista.com>
-- *
-- * This file is licensed under the terms of the GNU General Public License
-- * version 2. This program is licensed "as is" without any warranty of any
-- * kind, whether express or implied.
-- */
--
--#ifndef FS_PD_H
--#define FS_PD_H
--#include <sysdev/fsl_soc.h>
--#include <asm/time.h>
--
- static inline int uart_baudrate(void)
- {
- return get_baudrate();
- }
-#ifdef CONFIG_CPM2
-#include <asm/cpm2.h>
--
- static inline int uart_clock(void)
- {
- return ppc_proc_freq;
- }
-#if defined(CONFIG_8260)
-#include <asm/mpc8260.h>
-#endif
-
-#define cpm2_map(member) (&cpm2_immr->member)
-#define cpm2_map_size(member, size) (&cpm2_immr->member)
-#define cpm2_unmap(addr) do {} while(0)
-#endif
-
-#ifdef CONFIG_PPC_8xx
-#include <asm/8xx_immap.h>
-
-extern immap_t __iomem *mpc8xx_immr;
-
-#define immr_map(member) (&mpc8xx_immr->member)
-#define immr_map_size(member, size) (&mpc8xx_immr->member)
-#define immr_unmap(addr) do {} while (0)
-#endif
--
--#endif
#include <linux/device.h>
#include <linux/delay.h>
- #include <linux/fs_uart_pd.h>
-#include <linux/fs_enet_pd.h>
#include <linux/fsl_devices.h>
#include <linux/mii.h>
#include <linux/of_address.h>
#include <linux/device.h>
#include <linux/delay.h>
- #include <linux/fs_uart_pd.h>
-#include <linux/fs_enet_pd.h>
#include <linux/fsl_devices.h>
#include <linux/mii.h>
#include <linux/of_fdt.h>
#include <linux/phy.h>
#include <linux/spi/spi.h>
#include <linux/fsl_devices.h>
- #include <linux/fs_uart_pd.h>
-#include <linux/fs_enet_pd.h>
#include <linux/reboot.h>
#include <linux/atomic.h>
#include <asm/cpm2.h>
#include <asm/fsl_hcalls.h> /* For the Freescale hypervisor */
- extern void init_smc_ioports(struct fs_uart_platform_info*);
-extern void init_fcc_ioports(struct fs_platform_info*);
-extern void init_fec_ioports(struct fs_platform_info*);
static phys_addr_t immrbase = -1;
phys_addr_t get_immrbase(void)
#define sysrq_ftrace_dump_op (*(const struct sysrq_key_op *)NULL)
#endif
- static void sysrq_handle_showmem(int key)
+ static void sysrq_handle_showmem(u8 key)
{
- show_mem(0, NULL);
+ show_mem();
}
static const struct sysrq_key_op sysrq_showmem_op = {
.handler = sysrq_handle_showmem,