Path: blob/master/arch/arm/mach-mxs/include/mach/hardware.h
10820 views
/*1* Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.2* Copyright 2008 Juergen Beisert, [email protected]3*4* This program is free software; you can redistribute it and/or5* modify it under the terms of the GNU General Public License6* as published by the Free Software Foundation; either version 27* of the License, or (at your option) any later version.8* This program is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11* GNU General Public License for more details.12*13* You should have received a copy of the GNU General Public License14* along with this program; if not, write to the Free Software15* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,16* MA 02110-1301, USA.17*/1819#ifndef __MACH_MXS_HARDWARE_H__20#define __MACH_MXS_HARDWARE_H__2122#ifdef __ASSEMBLER__23#define IOMEM(addr) (addr)24#else25#define IOMEM(addr) ((void __force __iomem *)(addr))26#endif2728#endif /* __MACH_MXS_HARDWARE_H__ */293031