]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
at91: defined mach-types for meesc board in board config file
authorDaniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
Sun, 30 Oct 2011 22:52:28 +0000 (22:52 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 5 Nov 2011 09:40:43 +0000 (10:40 +0100)
quotation from Albert ARIBAUD:
"Recently the ARM mach-types.h file has been brought in sync with its
Linux original, leasing to a number of boards not being listed any more,
as the new list only contains boards which have actual Linux support or
were declared less than one year ago.

The symptom is a build failure with a message of the form "error:
'MACH_TYPE_XXXXXX' undeclared (first use in this function)".

U-Boot maintainers of such boards (in Cc: of this mail) should provide a
patch to re-introduce the MACH_TYPE_XXXXXX definition in their boards'
config header file in include/configs/."

Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
include/configs/meesc.h

index a2b55d5fb2c2cc534fed168dcd314f05338644c0..ea402905ba067cc5c98858a4f29de4d2e7f2fc45 100644 (file)
  */
 #define CONFIG_SYS_TEXT_BASE           0x20002000
 
+/*
+ * since a number of boards are not being listed in linux
+ * arch/arm/tools/mach-types any more, the mach-types have to be
+ * defined here
+ */
+#define MACH_TYPE_MEESC                        2165
+#define MACH_TYPE_ETHERCAN2            2407
+
 /* ARM asynchronous clock */
 #define CONFIG_SYS_AT91_SLOW_CLOCK     32768   /* 32.768 kHz crystal */
 #define CONFIG_SYS_AT91_MAIN_CLOCK     16000000/* 16.0 MHz crystal */