help
Support for Freescale MXS-based family of processors
---- -config ARCH_STMP3XXX
---- - bool "Freescale STMP3xxx"
---- - select CPU_ARM926T
---- - select CLKDEV_LOOKUP
---- - select ARCH_REQUIRE_GPIOLIB
---- - select GENERIC_CLOCKEVENTS
---- - select USB_ARCH_HAS_EHCI
---- - help
---- - Support for systems based on the Freescale 3xxx CPUs.
---- -
config ARCH_NETX
bool "Hilscher NetX based"
+++++ select CLKSRC_MMIO
select CPU_ARM926T
select ARM_VIC
select GENERIC_CLOCKEVENTS
#include "core.h"
----- #ifdef CONFIG_ZONE_DMA
----- /*
----- * Adjust the zones if there are restrictions for DMA access.
----- */
----- void __init realview_adjust_zones(unsigned long *size, unsigned long *hole)
----- {
----- unsigned long dma_size = SZ_256M >> PAGE_SHIFT;
-----
----- if (!machine_is_realview_pbx() || size[0] <= dma_size)
----- return;
-----
----- size[ZONE_NORMAL] = size[0] - dma_size;
----- size[ZONE_DMA] = dma_size;
----- hole[ZONE_NORMAL] = hole[0];
----- hole[ZONE_DMA] = 0;
----- }
----- #endif
-----
-----
#define REALVIEW_FLASHCTRL (__io_address(REALVIEW_SYS_BASE) + REALVIEW_SYS_FLASH_OFFSET)
- ----static int realview_flash_init(void)
- ----{
- ---- u32 val;
- ----
- ---- val = __raw_readl(REALVIEW_FLASHCTRL);
- ---- val &= ~REALVIEW_FLASHPROG_FLVPPEN;
- ---- __raw_writel(val, REALVIEW_FLASHCTRL);
- ----
- ---- return 0;
- ----}
- ----
- ----static void realview_flash_exit(void)
- ----{
- ---- u32 val;
- ----
- ---- val = __raw_readl(REALVIEW_FLASHCTRL);
- ---- val &= ~REALVIEW_FLASHPROG_FLVPPEN;
- ---- __raw_writel(val, REALVIEW_FLASHCTRL);
- ----}
- ----
- ----static void realview_flash_set_vpp(int on)
+ ++++static void realview_flash_set_vpp(struct platform_device *pdev, int on)
{
u32 val;