-
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] Orion: platform device registration for UART, USB and NAND
Signed-off-by: Tzachi Perelstein <tzachi@marvell.com> Reviewed-by: Nicolas Pitre <nico@marvell.com> Reviewed-by: Lennert Buytenhek <buytenh@marvell.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
- Loading branch information
Tzachi Perelstein
authored and
Russell King
committed
Jan 26, 2008
1 parent
51cbff1
commit ca26f7d
Showing
2 changed files
with
148 additions
and
0 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,25 @@ | ||
/* | ||
* asm-arm/arch-orion/platform.h | ||
* | ||
* Tzachi Perelstein <tzachi@marvell.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 __ASM_ARCH_PLATFORM_H__ | ||
#define __ASM_ARCH_PLATFORM_H__ | ||
|
||
/* | ||
* Device bus NAND private data | ||
*/ | ||
struct orion_nand_data { | ||
struct mtd_partition *parts; | ||
u32 nr_parts; | ||
u8 ale; /* address line number connected to ALE */ | ||
u8 cle; /* address line number connected to CLE */ | ||
u8 width; /* buswidth */ | ||
}; | ||
|
||
#endif |