Revision | 2975fad634b7c55f8448cd95a00dee02441b7610 (tree) |
---|---|
Time | 2020-06-03 18:52:59 |
Author | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
rx-virt
@@ -0,0 +1,9 @@ | ||
1 | +if TARGET_RX_QEMU | |
2 | + | |
3 | +config SYS_BOARD | |
4 | + default "qemu-rx" | |
5 | + | |
6 | +config SYS_CONFIG_NAME | |
7 | + default "rx-virt" | |
8 | + | |
9 | +endif |
@@ -0,0 +1 @@ | ||
1 | +obj-y = lowlevel_init.o |
@@ -1,9 +0,0 @@ | ||
1 | -if TARGET_RX_SIM | |
2 | - | |
3 | -config SYS_BOARD | |
4 | - default "rxsim" | |
5 | - | |
6 | -config SYS_CONFIG_NAME | |
7 | - default "rxsim" | |
8 | - | |
9 | -endif |
@@ -1 +0,0 @@ | ||
1 | -obj-y = lowlevel_init.o rxsim.o |
@@ -1,61 +0,0 @@ | ||
1 | -/* | |
2 | - * Copyright (C) 2011 Yoshinori Sato | |
3 | - * (C) Copyright 2000-2003 | |
4 | - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | |
5 | - * | |
6 | - * board/shmin/shmin.c | |
7 | - * | |
8 | - * This program is free software; you can redistribute it and/or | |
9 | - * modify it under the terms of the GNU General Public License as | |
10 | - * published by the Free Software Foundation; either version 2 of | |
11 | - * the License, or (at your option) any later version. | |
12 | - * | |
13 | - * This program is distributed in the hope that it will be useful, | |
14 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | - * GNU General Public License for more details. | |
17 | - * | |
18 | - * You should have received a copy of the GNU General Public License | |
19 | - * along with this program; if not, write to the Free Software | |
20 | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | |
21 | - * MA 02111-1307 USA | |
22 | - */ | |
23 | - | |
24 | -#include <common.h> | |
25 | -#include <dm.h> | |
26 | -#include <dm/platform_data/serial_sh.h> | |
27 | -#include <asm/io.h> | |
28 | -#include <asm/processor.h> | |
29 | - | |
30 | -int checkboard(void) | |
31 | -{ | |
32 | - puts("BOARD: RX Simulator\n"); | |
33 | - return 0; | |
34 | -} | |
35 | - | |
36 | -int board_init(void) | |
37 | -{ | |
38 | - return 0; | |
39 | -} | |
40 | - | |
41 | -int dram_init(void) | |
42 | -{ | |
43 | - return 0; | |
44 | -} | |
45 | - | |
46 | -void led_set_state(unsigned short value) | |
47 | -{ | |
48 | - | |
49 | -} | |
50 | - | |
51 | -static const struct sh_serial_platdata serial_platdata = { | |
52 | - .base = 0x00088240, | |
53 | - .type = PORT_SCI, | |
54 | - .clk = 48000000, | |
55 | - .clk_mode = INT_CLK, | |
56 | -}; | |
57 | - | |
58 | -U_BOOT_DEVICE(rxsim_serials) = { | |
59 | - .name = "serial_sh", | |
60 | - .platdata = &serial_platdata, | |
61 | -}; |