summaryrefslogtreecommitdiff
path: root/include/configs/ds109.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-01-26 01:42:38 (GMT)
committerTom Rini <trini@konsulko.com>2017-01-28 19:04:26 (GMT)
commitcd7b634413ea25838185db2faffc313d4d571fa9 (patch)
treea3b69e1416aa130eb27c5a5a58fb95c123906ab3 /include/configs/ds109.h
parent4247fd69468e51af89083758d170a43608c5a4c5 (diff)
downloadu-boot-cd7b634413ea25838185db2faffc313d4d571fa9.tar.xz
arm: Note vendor-required status of certain MACH_TYPE values
In the cases of some boards, a MACH_TYPE number is used which is either not registered upstream or worse (for functionality) is re-using the number of a different (or reference) platform instead. Make sure we have a comment in these cases. Cc: Albert ARIBAUD <albert.aribaud@3adev.fr> Cc: Walter Schweizer <swwa@users.sourceforge.net> Cc: Stefan Roese <sr@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/ds109.h')
-rw-r--r--include/configs/ds109.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/include/configs/ds109.h b/include/configs/ds109.h
index 222a510..4c87436 100644
--- a/include/configs/ds109.h
+++ b/include/configs/ds109.h
@@ -12,24 +12,13 @@
#ifndef _CONFIG_DS109_H
#define _CONFIG_DS109_H
-/*
- * FIXME: This belongs in mach-types.h. However, we only pull mach-types
- * from Linus' kernel.org tree. This hasn't been updated primarily due to
- * the recent arch/arm reshuffling. So, in the meantime, we'll place it
- * here.
- */
-#include <asm/mach-types.h>
-#ifdef MACH_TYPE_SYNOLOGY
-#error "MACH_TYPE_SYNOLOGY has been defined properly, please remove this."
-#else
-#define MACH_TYPE_SYNOLOGY 527
-#endif
+/* Provide the MACH_TYPE value that the vendor kernel requires. */
+#define CONFIG_MACH_TYPE 527
/*
* High Level Configuration Options (easy to change)
*/
#define CONFIG_SHEEVA_88SV131 1 /* CPU Core subversion */
-#define CONFIG_MACH_TYPE MACH_TYPE_SYNOLOGY
/*
* Commands configuration