mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
02aa06bc49
This patch makes inclusion of hardware.h and spear.h consistent over all spear variants. Now we will include hardware.h, wherever we need to use hardware macros. spear.h will be automatically included by hardware.h Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
24 lines
630 B
C
24 lines
630 B
C
/*
|
|
* arch/arm/mach-spear6xx/include/mach/hardware.h
|
|
*
|
|
* Hardware definitions for SPEAr6xx machine family
|
|
*
|
|
* Copyright (C) 2009 ST Microelectronics
|
|
* Rajeev Kumar<rajeev-dlh.kumar@st.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 __MACH_HARDWARE_H
|
|
#define __MACH_HARDWARE_H
|
|
|
|
#include <plat/hardware.h>
|
|
#include <mach/spear.h>
|
|
|
|
/* Vitual to physical translation of statically mapped space */
|
|
#define IO_ADDRESS(x) (x | 0xF0000000)
|
|
|
|
#endif /* __MACH_HARDWARE_H */
|