On 3/1/2012 3:50 PM, Troy Kisky wrote:
On 3/1/2012 2:54 PM, Albert ARIBAUD wrote:
Hi Troy,
Le 01/03/2012 22:13, Troy Kisky a écrit :
diff --git a/include/configs/ea20.h b/include/configs/ea20.h
index b4610d9..da49ae8 100644
--- a/include/configs/ea20.h
+++ b/include/configs/ea20.h
@@ -24,6 +24,18 @@
#define __CONFIG_H
/*
+ * FIXME: This belongs in mach-types.h. However, we only pull
mach-types
+ * from Linus' kernel.org tree.
+ */
+#include<asm/mach-types.h>
+#ifdef MACH_TYPE_EA20
+#error "MACH_TYPE_EA20 has been defined properly, please remove this."
+#else
+#define MACH_TYPE_EA20 3002
+#endif
+
+
+/*
Sorry if I am being pedantic here, but the "FIXME" comment actually
belongs *below* the #include line, not above. Ditto for others.
I put it above because when it is moved to mach-types.h, the include
should be deleted as well. That is part of the "FIXME."
Did I convince you, or do you still want it changed?
Thanks
Troy
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot