]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/asm-arm/arch-at91/hardware.h
AT91: Replace AT91_BASE_EMAC by the board specific values.
[people/ms/u-boot.git] / include / asm-arm / arch-at91 / hardware.h
CommitLineData
fa506a92 1/*
4f6c8101 2 * [origin: Linux kernel include/asm-arm/arch-at91/hardware.h]
177e8a5a
SP
3 *
4 * Copyright (C) 2003 SAN People
5 * Copyright (C) 2003 ATMEL
fa506a92
SP
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
fa506a92 12 */
177e8a5a 13
fa506a92
SP
14#ifndef __ASM_ARCH_HARDWARE_H
15#define __ASM_ARCH_HARDWARE_H
16
17#include <asm/sizes.h>
18
177e8a5a
SP
19#if defined(CONFIG_AT91RM9200)
20#include <asm/arch/at91rm9200.h>
21#elif defined(CONFIG_AT91SAM9260)
22#include <asm/arch/at91sam9260.h>
0176d43e
SP
23#define AT91_BASE_SPI AT91SAM9260_BASE_SPI0
24#define AT91_ID_UHP AT91SAM9260_ID_UHP
25#define AT91_PMC_UHP AT91SAM926x_PMC_UHP
177e8a5a
SP
26#elif defined(CONFIG_AT91SAM9261)
27#include <asm/arch/at91sam9261.h>
d99a8ff6
SP
28#define AT91_BASE_SPI AT91SAM9261_BASE_SPI0
29#define AT91_ID_UHP AT91SAM9261_ID_UHP
30#define AT91_PMC_UHP AT91SAM926x_PMC_UHP
177e8a5a
SP
31#elif defined(CONFIG_AT91SAM9263)
32#include <asm/arch/at91sam9263.h>
8e429b3e
SP
33#define AT91_BASE_SPI AT91SAM9263_BASE_SPI0
34#define AT91_ID_UHP AT91SAM9263_ID_UHP
35#define AT91_PMC_UHP AT91SAM926x_PMC_UHP
177e8a5a
SP
36#elif defined(CONFIG_AT91SAM9RL)
37#include <asm/arch/at91sam9rl.h>
2118ebb4
SP
38#define AT91_BASE_SPI AT91SAM9RL_BASE_SPI
39#define AT91_ID_UHP AT91SAM9RL_ID_UHP
177e8a5a
SP
40#elif defined(CONFIG_AT91CAP9)
41#include <asm/arch/at91cap9.h>
177e8a5a
SP
42#define AT91_BASE_SPI AT91CAP9_BASE_SPI0
43#define AT91_ID_UHP AT91CAP9_ID_UHP
44#define AT91_PMC_UHP AT91CAP9_PMC_UHP
45#elif defined(CONFIG_AT91X40)
46#include <asm/arch/at91x40.h>
47#else
48#error "Unsupported AT91 processor"
49#endif
fa506a92 50
fa506a92 51#endif