common.c (5f4457a4f62cc9d78e04c0eb12ff0540899aad89) | common.c (3b937a7dbddbedd9457b33fcc8fa369c0c229c6e) |
---|---|
1/* 2 * arch/arm/mach-orion5x/common.c 3 * 4 * Core functions for Marvell Orion 5x SoCs 5 * 6 * Maintainer: Tzachi Perelstein <tzachi@marvell.com> 7 * 8 * This file is licensed under the terms of the GNU General Public --- 17 unchanged lines hidden (view full) --- 26#include <asm/mach/arch.h> 27#include <asm/mach/map.h> 28#include <asm/mach/time.h> 29#include <mach/hardware.h> 30#include <mach/orion5x.h> 31#include <plat/ehci-orion.h> 32#include <plat/mv_xor.h> 33#include <plat/orion_nand.h> | 1/* 2 * arch/arm/mach-orion5x/common.c 3 * 4 * Core functions for Marvell Orion 5x SoCs 5 * 6 * Maintainer: Tzachi Perelstein <tzachi@marvell.com> 7 * 8 * This file is licensed under the terms of the GNU General Public --- 17 unchanged lines hidden (view full) --- 26#include <asm/mach/arch.h> 27#include <asm/mach/map.h> 28#include <asm/mach/time.h> 29#include <mach/hardware.h> 30#include <mach/orion5x.h> 31#include <plat/ehci-orion.h> 32#include <plat/mv_xor.h> 33#include <plat/orion_nand.h> |
34#include <plat/orion5x_wdt.h> | 34#include <plat/orion_wdt.h> |
35#include <plat/time.h> 36#include "common.h" 37 38/***************************************************************************** 39 * I/O Address Mapping 40 ****************************************************************************/ 41static struct map_desc orion5x_io_desc[] __initdata = { 42 { --- 492 unchanged lines hidden (view full) --- 535 dma_cap_set(DMA_XOR, orion5x_xor1_data.cap_mask); 536 platform_device_register(&orion5x_xor1_channel); 537} 538 539 540/***************************************************************************** 541 * Watchdog 542 ****************************************************************************/ | 35#include <plat/time.h> 36#include "common.h" 37 38/***************************************************************************** 39 * I/O Address Mapping 40 ****************************************************************************/ 41static struct map_desc orion5x_io_desc[] __initdata = { 42 { --- 492 unchanged lines hidden (view full) --- 535 dma_cap_set(DMA_XOR, orion5x_xor1_data.cap_mask); 536 platform_device_register(&orion5x_xor1_channel); 537} 538 539 540/***************************************************************************** 541 * Watchdog 542 ****************************************************************************/ |
543static struct orion5x_wdt_platform_data orion5x_wdt_data = { | 543static struct orion_wdt_platform_data orion5x_wdt_data = { |
544 .tclk = 0, 545}; 546 547static struct platform_device orion5x_wdt_device = { | 544 .tclk = 0, 545}; 546 547static struct platform_device orion5x_wdt_device = { |
548 .name = "orion5x_wdt", | 548 .name = "orion_wdt", |
549 .id = -1, 550 .dev = { 551 .platform_data = &orion5x_wdt_data, 552 }, 553 .num_resources = 0, 554}; 555 556void __init orion5x_wdt_init(void) --- 129 unchanged lines hidden --- | 549 .id = -1, 550 .dev = { 551 .platform_data = &orion5x_wdt_data, 552 }, 553 .num_resources = 0, 554}; 555 556void __init orion5x_wdt_init(void) --- 129 unchanged lines hidden --- |