]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/rsk7203.h
dm: exynos: gpio: Convert to driver model
[karo-tx-uboot.git] / include / configs / rsk7203.h
index 36e4c017bbe716aee75c9ed0f9941dcf83b3b1dd..5436324580384065e8760f06e4fa0114bd8642e0 100644 (file)
@@ -4,31 +4,13 @@
  * Copyright (C) 2008 Nobuhiro Iwamatsu
  * Copyright (C) 2008 Renesas Solutions Corp.
  *
- * 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 __RSK7203_H
 #define __RSK7203_H
 
 #undef DEBUG
-#define CONFIG_SH              1
-#define CONFIG_SH2             1
 #define CONFIG_SH2A            1
 #define CONFIG_CPU_SH7203      1
 #define CONFIG_RSK7203 1
@@ -54,8 +36,8 @@
 #define RSK7203_FLASH_BASE_1   0x20000000      /* Non cache */
 #define RSK7203_FLASH_BANK_SIZE        (4 * 1024 * 1024)
 
+#define CONFIG_SYS_TEXT_BASE   0x0C7C0000
 #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 */
@@ -78,7 +60,6 @@
 #define CONFIG_SYS_MONITOR_BASE        RSK7203_FLASH_BASE_1
 #define CONFIG_SYS_MONITOR_LEN         (128 * 1024)
 #define CONFIG_SYS_MALLOC_LEN          (256 * 1024)
-#define CONFIG_SYS_GBL_DATA_SIZE       256
 #define CONFIG_SYS_BOOTMAPSZ           (8 * 1024 * 1024)
 
 /* FLASH */
 
 /* Board Clock */
 #define CONFIG_SYS_CLK_FREQ    33333333
+#define CONFIG_SH_TMU_CLK_FREQ CONFIG_SYS_CLK_FREQ
+#define CONFIG_SH_SCIF_CLK_FREQ CONFIG_SYS_CLK_FREQ
 #define CMT_CLK_DIVIDER        32      /* 8 (default), 32, 128 or 512 */
-#define CONFIG_SYS_HZ                  (CONFIG_SYS_CLK_FREQ / CMT_CLK_DIVIDER)
+#define CONFIG_SH_CMT_CLK_FREQ (CONFIG_SYS_CLK_FREQ / CMT_CLK_DIVIDER)
 
 /* Network interface */
-#define CONFIG_DRIVER_SMC911X
-#define CONFIG_DRIVER_SMC911X_16_BIT
-#define CONFIG_DRIVER_SMC911X_BASE (0x24000000)
+#define CONFIG_SMC911X
+#define CONFIG_SMC911X_16_BIT
+#define CONFIG_SMC911X_BASE (0x24000000)
 
 #endif /* __RSK7203_H */