]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/M5253DEMO.h
disk: convert CONFIG_DOS_PARTITION to Kconfig
[people/ms/u-boot.git] / include / configs / M5253DEMO.h
index 83122cf59f54d7f19eea7b2d19d7ef94dfb43b46..273345772a548913ec955a4f402e2ebb654ab01c 100644 (file)
@@ -1,14 +1,12 @@
-TABILITY or FITNESS FO04-2007 Freescale Semiconductor, Inc.
+/* Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
  * Hayden Fraser (Hayden.Fraser@freescale.com)
  *
- * SPDX-License-Identifier:    GPL-2.0+ 
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _M5253DEMO_H
 #define _M5253DEMO_H
 
-#define CONFIG_MCF52x2         /* define processor family */
-#define CONFIG_M5253           /* define processor type */
 #define CONFIG_M5253DEMO       /* define board type */
 
 #define CONFIG_MCFTMR
@@ -19,7 +17,6 @@ TABILITY or FITNESS FO04-2007 Freescale Semiconductor, Inc.
 
 #undef CONFIG_WATCHDOG         /* disable watchdog */
 
-#define CONFIG_BOOTDELAY       5
 
 /* Configuration for environment
  * Environment is embedded in u-boot in the second sector of the flash
@@ -34,25 +31,17 @@ TABILITY or FITNESS FO04-2007 Freescale Semiconductor, Inc.
 #      define CONFIG_ENV_IS_IN_FLASH   1
 #endif
 
+#define LDS_BOARD_TEXT \
+        . = DEFINED(env_offset) ? env_offset : .; \
+        common/env_embedded.o (.text*);
+
 /*
  * Command line configuration.
  */
-#include <config_cmd_default.h>
-
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_LOADB
-#define CONFIG_CMD_LOADS
-#define CONFIG_CMD_EXT2
-#define CONFIG_CMD_FAT
 #define CONFIG_CMD_IDE
-#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_MISC
-#define CONFIG_CMD_PING
 
 #ifdef CONFIG_CMD_IDE
 /* ATA */
-#      define CONFIG_DOS_PARTITION
-#      define CONFIG_MAC_PARTITION
 #      define CONFIG_IDE_RESET         1
 #      define CONFIG_IDE_PREINIT       1
 #      define CONFIG_ATAPI
@@ -107,7 +96,6 @@ TABILITY or FITNESS FO04-2007 Freescale Semiconductor, Inc.
 #define CONFIG_SYS_I2C_PINMUX_CLR      (0xFFFFE7FF)
 #define CONFIG_SYS_I2C_PINMUX_SET      (0)
 
-#define CONFIG_SYS_PROMPT              "=> "
 #define CONFIG_SYS_LONGHELP            /* undef to save memory */
 
 #if defined(CONFIG_CMD_KGDB)
@@ -124,8 +112,6 @@ TABILITY or FITNESS FO04-2007 Freescale Semiconductor, Inc.
 #define CONFIG_SYS_MEMTEST_START       0x400
 #define CONFIG_SYS_MEMTEST_END         0x380000
 
-#define CONFIG_SYS_HZ                  1000
-
 #undef CONFIG_SYS_PLL_BYPASS           /* bypass PLL for test purpose */
 #define CONFIG_SYS_FAST_CLK
 #ifdef CONFIG_SYS_FAST_CLK