도와주세요!!
글 수 15,339
2003.09.15 18:58:00 (*.41.193.194)
6804
==================================
linux/arch/arm/tools/mach-types
==================================
fester SA1100_FESTER FESTER 191
gpi ARCH_GPI GPI 192
smdk2410 ARCH_SMDK2410 SMDK2410 193
myboard SA1100_MYBOARD MYBOARD 200
==================================
linux/include/asm/
==================================
#define MACH_TYPE_MYBOARD 200
//
#ifdef CONFIG_SA1100_MYBOARD
# ifdef machine_arch_type
# undef machine_arch_type
# define machine_arch_type __machine_arch_type
# else
# define machine_arch_type MACH_TYPE_MYBOARD
# endif
# define machine_is_myboard() (machine_arch_type ==
MACH_TYPE_MYBOARD)
#else
# define machine_is_myboard() (0)
#endif
==================================
blob/include/blob/linux.h
==================================
#elif defined MYBOARD
# define ARCH_NUMBER (200 )
linux/arch/arm/tools/mach-types
==================================
fester SA1100_FESTER FESTER 191
gpi ARCH_GPI GPI 192
smdk2410 ARCH_SMDK2410 SMDK2410 193
myboard SA1100_MYBOARD MYBOARD 200
==================================
linux/include/asm/
==================================
#define MACH_TYPE_MYBOARD 200
//
#ifdef CONFIG_SA1100_MYBOARD
# ifdef machine_arch_type
# undef machine_arch_type
# define machine_arch_type __machine_arch_type
# else
# define machine_arch_type MACH_TYPE_MYBOARD
# endif
# define machine_is_myboard() (machine_arch_type ==
MACH_TYPE_MYBOARD)
#else
# define machine_is_myboard() (0)
#endif
==================================
blob/include/blob/linux.h
==================================
#elif defined MYBOARD
# define ARCH_NUMBER (200 )