]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/mpr2.h
common, kconfig: move VERSION_VARIABLE to Kconfig
[people/ms/u-boot.git] / include / configs / mpr2.h
index 6ebb1e17b5d7a61cca849171cb869aca2fbc0c3c..1a8909a8ad158385a1672d173a2fc5dc8d977be5 100644 (file)
@@ -4,50 +4,26 @@
  * Copyright (C) 2008
  * Mark Jonas <mark.jonas@de.bosch.com>
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __MPR2_H
 #define __MPR2_H
 
 /* Supported commands */
-#define CONFIG_CMD_ENV
-#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_FLASH
 
 /* Default environment variables */
 #define CONFIG_BAUDRATE                115200
 #define CONFIG_BOOTARGS                "console=ttySC0,115200"
-#define CONFIG_BOOTFILE                /boot/zImage
+#define CONFIG_BOOTFILE                "/boot/zImage"
 #define CONFIG_LOADADDR                0x8E000000
-#define CONFIG_VERSION_VARIABLE
 
 /* CPU and platform */
-#define CONFIG_SH              1
-#define CONFIG_SH3             1
 #define CONFIG_CPU_SH7720      1
 #define CONFIG_MPR2            1
 
 /* U-Boot internals */
 #define CONFIG_SYS_LONGHELP                    /* undef to save memory */
-#define CONFIG_SYS_PROMPT              "=> "   /* Monitor Command Prompt */
 #define CONFIG_SYS_CBSIZE              256     /* Buffer size for input from the Console */
 #define CONFIG_SYS_PBSIZE              256     /* Buffer size for Console output */
 #define CONFIG_SYS_MAXARGS             16      /* max args accepted for monitor commands */
@@ -57,7 +33,8 @@
 #define CONFIG_SYS_MONITOR_BASE        CONFIG_SYS_FLASH_BASE
 #define CONFIG_SYS_MONITOR_LEN         (128 * 1024)
 #define CONFIG_SYS_MALLOC_LEN          (256 * 1024)
-#define CONFIG_SYS_GBL_DATA_SIZE       256
+
+#define CONFIG_SYS_TEXT_BASE   0x8FFC0000
 
 /* Memory */
 #define CONFIG_SYS_SDRAM_BASE          0x8C000000
@@ -82,8 +59,9 @@
 
 /* Clocks */
 #define CONFIG_SYS_CLK_FREQ    24000000
-#define TMU_CLK_DIVIDER                4       /* 4 (default), 16, 64, 256 or 1024 */
-#define CONFIG_SYS_HZ                  (CONFIG_SYS_CLK_FREQ / TMU_CLK_DIVIDER)
+#define CONFIG_SH_TMU_CLK_FREQ CONFIG_SYS_CLK_FREQ
+#define CONFIG_SH_SCIF_CLK_FREQ CONFIG_SYS_CLK_FREQ
+#define CONFIG_SYS_TMU_CLK_DIV         4       /* 4 (default), 16, 64, 256 or 1024 */
 
 /* UART */
 #define CONFIG_SCIF_CONSOLE    1