Loading include/asm-arm/arch-ns9xxx/board.h +25 −3 Original line number Diff line number Diff line /* * include/asm-arm/arch-ns9xxx/board.h * * Copyright (C) 2006 by Digi International Inc. * Copyright (C) 2006,2007 by Digi International Inc. * All rights reserved. * * This program is free software; you can redistribute it and/or modify it Loading @@ -13,8 +13,30 @@ #include <asm/mach-types.h> #define board_is_a9m9750dev() (machine_is_cc9p9360dev()) #define board_is_a9m9750dev() (0 \ || machine_is_cc9p9360dev() \ || machine_is_cc9p9750dev() \ ) #define board_is_jscc9p9360() (machine_is_cc9p9360js()) #define board_is_a9mvali() (0 \ || machine_is_cc9p9360val() \ || machine_is_cc9p9750val() \ ) #define board_is_jscc9p9210() (0 \ || machine_is_cc9p9210js() \ ) #define board_is_jscc9p9215() (0 \ || machine_is_cc9p9215js() \ ) #define board_is_jscc9p9360() (0 \ || machine_is_cc9p9360js() \ ) #define board_is_uncbas() (0 \ || machine_is_cc7ucamry() \ ) #endif /* ifndef __ASM_ARCH_BOARD_H */ include/asm-arm/arch-ns9xxx/module.h 0 → 100644 +60 −0 Original line number Diff line number Diff line /* * 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 */ include/asm-arm/arch-ns9xxx/processor.h +27 −4 Original line number Diff line number Diff line /* * include/asm-arm/arch-ns9xxx/processor.h * * Copyright (C) 2006 by Digi International Inc. * Copyright (C) 2006,2007 by Digi International Inc. * All rights reserved. * * This program is free software; you can redistribute it and/or modify it Loading @@ -11,9 +11,32 @@ #ifndef __ASM_ARCH_PROCESSOR_H #define __ASM_ARCH_PROCESSOR_H #include <asm/mach-types.h> #include <asm/arch-ns9xxx/module.h> #define processor_is_ns9360() (machine_is_cc9p9360dev() \ || machine_is_cc9p9360js()) #define processor_is_ns9210() (0 \ || module_is_cc7ucamry() \ || module_is_cc9p9210() \ || module_is_inc20otter() \ || module_is_otter() \ ) #define processor_is_ns9215() (0 \ || module_is_cc9p9215() \ ) #define processor_is_ns9360() (0 \ || module_is_cc9p9360() \ || module_is_cc9c() \ || module_is_ccw9c() \ ) #define processor_is_ns9750() (0 \ || module_is_cc9p9750() \ ) #define processor_is_ns921x() (0 \ || processor_is_ns9210() \ || processor_is_ns9215() \ ) #endif /* ifndef __ASM_ARCH_PROCESSOR_H */ Loading
include/asm-arm/arch-ns9xxx/board.h +25 −3 Original line number Diff line number Diff line /* * include/asm-arm/arch-ns9xxx/board.h * * Copyright (C) 2006 by Digi International Inc. * Copyright (C) 2006,2007 by Digi International Inc. * All rights reserved. * * This program is free software; you can redistribute it and/or modify it Loading @@ -13,8 +13,30 @@ #include <asm/mach-types.h> #define board_is_a9m9750dev() (machine_is_cc9p9360dev()) #define board_is_a9m9750dev() (0 \ || machine_is_cc9p9360dev() \ || machine_is_cc9p9750dev() \ ) #define board_is_jscc9p9360() (machine_is_cc9p9360js()) #define board_is_a9mvali() (0 \ || machine_is_cc9p9360val() \ || machine_is_cc9p9750val() \ ) #define board_is_jscc9p9210() (0 \ || machine_is_cc9p9210js() \ ) #define board_is_jscc9p9215() (0 \ || machine_is_cc9p9215js() \ ) #define board_is_jscc9p9360() (0 \ || machine_is_cc9p9360js() \ ) #define board_is_uncbas() (0 \ || machine_is_cc7ucamry() \ ) #endif /* ifndef __ASM_ARCH_BOARD_H */
include/asm-arm/arch-ns9xxx/module.h 0 → 100644 +60 −0 Original line number Diff line number Diff line /* * 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 */
include/asm-arm/arch-ns9xxx/processor.h +27 −4 Original line number Diff line number Diff line /* * include/asm-arm/arch-ns9xxx/processor.h * * Copyright (C) 2006 by Digi International Inc. * Copyright (C) 2006,2007 by Digi International Inc. * All rights reserved. * * This program is free software; you can redistribute it and/or modify it Loading @@ -11,9 +11,32 @@ #ifndef __ASM_ARCH_PROCESSOR_H #define __ASM_ARCH_PROCESSOR_H #include <asm/mach-types.h> #include <asm/arch-ns9xxx/module.h> #define processor_is_ns9360() (machine_is_cc9p9360dev() \ || machine_is_cc9p9360js()) #define processor_is_ns9210() (0 \ || module_is_cc7ucamry() \ || module_is_cc9p9210() \ || module_is_inc20otter() \ || module_is_otter() \ ) #define processor_is_ns9215() (0 \ || module_is_cc9p9215() \ ) #define processor_is_ns9360() (0 \ || module_is_cc9p9360() \ || module_is_cc9c() \ || module_is_ccw9c() \ ) #define processor_is_ns9750() (0 \ || module_is_cc9p9750() \ ) #define processor_is_ns921x() (0 \ || processor_is_ns9210() \ || processor_is_ns9215() \ ) #endif /* ifndef __ASM_ARCH_PROCESSOR_H */