-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: ebsa110: move platform definitions out of mach/hardware.h
Stop exposing platform definitions to the entire kernel tree, move them into a private header file instead. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
- Loading branch information
Russell King
committed
Feb 2, 2012
1 parent
62aa2b5
commit bcbbf90
Showing
5 changed files
with
60 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* Copyright (C) 1996-2000 Russell King. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
* | ||
* This file contains the core hardware definitions of the EBSA-110. | ||
*/ | ||
#ifndef CORE_H | ||
#define CORE_H | ||
|
||
/* Physical addresses/sizes */ | ||
#define ISAMEM_PHYS 0xe0000000 | ||
#define ISAMEM_SIZE 0x10000000 | ||
|
||
#define ISAIO_PHYS 0xf0000000 | ||
#define ISAIO_SIZE PGDIR_SIZE | ||
|
||
#define TRICK0_PHYS 0xf2000000 | ||
#define TRICK1_PHYS 0xf2400000 | ||
#define TRICK2_PHYS 0xf2800000 | ||
#define TRICK3_PHYS 0xf2c00000 | ||
#define TRICK4_PHYS 0xf3000000 | ||
#define TRICK5_PHYS 0xf3400000 | ||
#define TRICK6_PHYS 0xf3800000 | ||
#define TRICK7_PHYS 0xf3c00000 | ||
|
||
/* Virtual addresses */ | ||
#define PIT_BASE 0xfc000000 /* trick 0 */ | ||
#define SOFT_BASE 0xfd000000 /* trick 1 */ | ||
#define IRQ_MASK 0xfe000000 /* trick 3 - read */ | ||
#define IRQ_MSET 0xfe000000 /* trick 3 - write */ | ||
#define IRQ_STAT 0xff000000 /* trick 4 - read */ | ||
#define IRQ_MCLR 0xff000000 /* trick 4 - write */ | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters