]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
karo: tx28: set CONFIG_MX28 before including regs-base.h
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Oct 2013 14:07:52 +0000 (16:07 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Oct 2013 14:07:52 +0000 (16:07 +0200)
include/configs/tx28.h

index 96bcfb8e45ead2d6add58cc48dc21a57de0b57ff..145e0a74b68649108e44d5c05b8d7776d88c6888 100644 (file)
@@ -4,10 +4,11 @@
  * SPDX-License-Identifier:      GPL-2.0
  *
  */
-#ifndef __CONFIGS_TX28_H
-#define __CONFIGS_TX28_H
 
-#define CONFIG_MX28                                    /* i.MX28 SoC */
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#define CONFIG_MX28                    /* must be defined before including regs-base.h */
 
 #include <asm/sizes.h>
 #include <asm/arch/regs-base.h>