Skip to contentSkip to conversation

Simple patch for dbau1200

PATCH Matej Kupljen 1 participant 1 message Oct 26, 2005 MIPS

lore
Share & tools
lore
#0 lore raw

Hi

This is simple patch, to get the correct text
output from :

# cat /proc/cpuinfo

for the DBAU1200 board.

BR,
Matej

Simple patch to get correct board name from /proc/cpuinfo.

arch/mips/au1000/pb1200/init.c +4 -0
@@ -43,7 +43,11 @@ extern char *prom_getenv(char *envname);
 
 const char *get_system_type(void)
 {
+#ifdef CONFIG_MIPS_DB1200
+	return "Alchemy Db1200";
+#else
 	return "Alchemy Pb1200";
+#endif
 }
 
 void __init prom_init(void)