Path: blob/master/arch/arm/mach-dove/include/mach/hardware.h
10820 views
/*1* arch/arm/mach-dove/include/mach/hardware.h2*3* This file is licensed under the terms of the GNU General Public4* License version 2. This program is licensed "as is" without any5* warranty of any kind, whether express or implied.6*/78#ifndef __ASM_ARCH_HARDWARE_H9#define __ASM_ARCH_HARDWARE_H1011#include "dove.h"1213#define pcibios_assign_all_busses() 11415#define PCIBIOS_MIN_IO 0x100016#define PCIBIOS_MIN_MEM 0x0100000017#define PCIMEM_BASE DOVE_PCIE0_MEM_PHYS_BASE181920/* Macros below are required for compatibility with PXA AC'97 driver. */21#define __REG(x) (*((volatile u32 *)((x) - DOVE_SB_REGS_PHYS_BASE + \22DOVE_SB_REGS_VIRT_BASE)))23#define __PREG(x) (((u32)&(x)) - DOVE_SB_REGS_VIRT_BASE + \24DOVE_SB_REGS_PHYS_BASE)25#endif262728