-
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.
ns9xxx: add module_is_..., processor_is_... and board_is_... for many…
… machs Most of the machines are not yet supported, but I have to start somewhere. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
- Loading branch information
Uwe Kleine-König
authored and
Uwe Kleine-König
committed
Mar 31, 2008
1 parent
13f429b
commit a9fc01f
Showing
3 changed files
with
112 additions
and
7 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,60 @@ | ||
/* | ||
* include/asm-arm/arch-ns9xxx/module.h | ||
* | ||
* Copyright (C) 2007 by Digi International Inc. | ||
* All rights reserved. | ||
* | ||
* 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. | ||
*/ | ||
#ifndef __ASM_ARCH_MODULE_H | ||
#define __ASM_ARCH_MODULE_H | ||
|
||
#include <asm/mach-types.h> | ||
|
||
#define module_is_cc7ucamry() (0 \ | ||
|| machine_is_cc7ucamry() \ | ||
) | ||
|
||
#define module_is_cc9c() (0 \ | ||
|| machine_is_cc9c() \ | ||
) | ||
|
||
#define module_is_cc9p9210() (0 \ | ||
|| machine_is_cc9p9210() \ | ||
|| machine_is_cc9p9210js() \ | ||
) | ||
|
||
#define module_is_cc9p9215() (0 \ | ||
|| machine_is_cc9p9215() \ | ||
|| machine_is_cc9p9215js() \ | ||
) | ||
|
||
#define module_is_cc9p9360() (0 \ | ||
|| machine_is_a9m9360() \ | ||
|| machine_is_cc9p9360dev() \ | ||
|| machine_is_cc9p9360js() \ | ||
|| machine_is_cc9p9360val() \ | ||
) | ||
|
||
#define module_is_cc9p9750() (0 \ | ||
|| machine_is_a9m9750() \ | ||
|| machine_is_cc9p9750dev() \ | ||
|| machine_is_cc9p9750js() \ | ||
|| machine_is_cc9p9750val() \ | ||
) | ||
|
||
#define module_is_ccw9c() (0 \ | ||
|| machine_is_ccw9c() \ | ||
) | ||
|
||
#define module_is_inc20otter() (0 \ | ||
|| machine_is_inc20otter() \ | ||
) | ||
|
||
#define module_is_otter() (0 \ | ||
|| machine_is_otter() \ | ||
) | ||
|
||
#endif /* ifndef __ASM_ARCH_MODULE_H */ |
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