If you prefer to regenrate the mach-types.h from a newer machine db just drop the hunk in mach-types.h
Signed-off-by: Stefan Schmidt <[email protected]> Index: include/mach-types.h =================================================================== RCS file: /cvs/haret/include/mach-types.h,v retrieving revision 1.8 diff -u -r1.8 mach-types.h --- include/mach-types.h 27 Sep 2008 00:46:27 -0000 1.8 +++ include/mach-types.h 13 Jun 2009 02:12:01 -0000 @@ -1896,6 +1896,7 @@ #define MACH_TYPE_HTCRAPHAEL 1910 #define MACH_TYPE_SYGDG1 1911 #define MACH_TYPE_SYGDG2 1912 +#define MACH_TYPE_SGH_I900 2276 #ifdef CONFIG_ARCH_EBSA110 # ifdef machine_arch_type @@ -24505,6 +24506,18 @@ # define machine_is_sygdg2() (0) #endif +#ifdef CONFIG_MACH_SGH_I900 +# ifdef machine_arch_type +# undef machine_arch_type +# define machine_arch_type __machine_arch_type +# else +# define machine_arch_type MACH_TYPE_SGH_I900 +# endif +# define machine_is_sgh_i900() (machine_arch_type == MACH_TYPE_SGH_I900) +#else +# define machine_is_sgh_i900() (0) +#endif + /* * These have not yet been registered */ Index: src/mach/machlist.txt =================================================================== RCS file: /cvs/haret/src/mach/machlist.txt,v retrieving revision 1.36 diff -u -r1.36 machlist.txt --- src/mach/machlist.txt 11 Apr 2009 20:20:47 -0000 1.36 +++ src/mach/machlist.txt 13 Jun 2009 02:12:01 -0000 @@ -90,6 +90,7 @@ Raphael, MSM7201A,HTC Touch Pro T7272;RAPH100;RAPH800, HTCRAPHAEL, \ set ramsize 0x6400000, \ set ramaddr 0x20000000 +SGH_i900, PXA27x ,SGH-i900, SGH_I900 PLATFORM=Jupiter Jornada820, SA ,"HP, Jornada 820", JORNADA820 -- _______________________________________________ Haret mailing list [email protected] https://handhelds.org/mailman/listinfo/haret
