mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
plat-orion: make ehci-orion available for all Orion families
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Reviewed-by: Tzachi Perelstein <tzachi@marvell.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Nicolas Pitre <nico@marvell.com>
This commit is contained in:
parent
2bac1de203
commit
705a752162
@ -27,6 +27,7 @@
|
|||||||
#include <asm/arch/hardware.h>
|
#include <asm/arch/hardware.h>
|
||||||
#include <asm/arch/orion.h>
|
#include <asm/arch/orion.h>
|
||||||
#include <asm/arch/platform.h>
|
#include <asm/arch/platform.h>
|
||||||
|
#include <asm/plat-orion/ehci-orion.h>
|
||||||
#include <asm/plat-orion/time.h>
|
#include <asm/plat-orion/time.h>
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
|
@ -1033,7 +1033,7 @@ MODULE_LICENSE ("GPL");
|
|||||||
#define OF_PLATFORM_DRIVER ehci_hcd_ppc_of_driver
|
#define OF_PLATFORM_DRIVER ehci_hcd_ppc_of_driver
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_ORION
|
#ifdef CONFIG_PLAT_ORION
|
||||||
#include "ehci-orion.c"
|
#include "ehci-orion.c"
|
||||||
#define PLATFORM_DRIVER ehci_orion_driver
|
#define PLATFORM_DRIVER ehci_orion_driver
|
||||||
#endif
|
#endif
|
||||||
|
@ -12,8 +12,7 @@
|
|||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
#include <linux/mbus.h>
|
#include <linux/mbus.h>
|
||||||
#include <asm/arch/orion.h>
|
#include <asm/plat-orion/ehci-orion.h>
|
||||||
#include <asm/arch/platform.h>
|
|
||||||
|
|
||||||
#define rdl(off) __raw_readl(hcd->regs + (off))
|
#define rdl(off) __raw_readl(hcd->regs + (off))
|
||||||
#define wrl(off, val) __raw_writel((val), hcd->regs + (off))
|
#define wrl(off, val) __raw_writel((val), hcd->regs + (off))
|
||||||
|
@ -11,14 +11,6 @@
|
|||||||
#ifndef __ASM_ARCH_PLATFORM_H__
|
#ifndef __ASM_ARCH_PLATFORM_H__
|
||||||
#define __ASM_ARCH_PLATFORM_H__
|
#define __ASM_ARCH_PLATFORM_H__
|
||||||
|
|
||||||
/*
|
|
||||||
* Orion EHCI platform driver data.
|
|
||||||
*/
|
|
||||||
struct orion_ehci_data {
|
|
||||||
struct mbus_dram_target_info *dram;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Device bus NAND private data
|
* Device bus NAND private data
|
||||||
*/
|
*/
|
||||||
|
19
include/asm-arm/plat-orion/ehci-orion.h
Normal file
19
include/asm-arm/plat-orion/ehci-orion.h
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
/*
|
||||||
|
* include/asm-arm/plat-orion/ehci-orion.h
|
||||||
|
*
|
||||||
|
* 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 __ASM_PLAT_ORION_EHCI_ORION_H
|
||||||
|
#define __ASM_PLAT_ORION_EHCI_ORION_H
|
||||||
|
|
||||||
|
#include <linux/mbus.h>
|
||||||
|
|
||||||
|
struct orion_ehci_data {
|
||||||
|
struct mbus_dram_target_info *dram;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user