diff options
author | Alexey Brodkin | 2018-10-18 01:54:58 -0500 |
---|---|---|
committer | Alexey Brodkin | 2018-11-01 15:04:05 -0500 |
commit | adc9b09a23f3cfef56130abc4c4c1a9085a0ec13 (patch) | |
tree | e0f697c49f0e718ef58da575c172b51a7420b905 /board | |
parent | fdaccfeb5e03e18c05be386b8a7c6be02be2cf15 (diff) | |
download | u-boot-adc9b09a23f3cfef56130abc4c4c1a9085a0ec13.tar.gz u-boot-adc9b09a23f3cfef56130abc4c4c1a9085a0ec13.tar.xz u-boot-adc9b09a23f3cfef56130abc4c4c1a9085a0ec13.zip |
emdk->emsdp: Rename board
Real marketing name of the board was recently updated so
to accommodate that change renaming the board and all
related to it.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/synopsys/emsdp/Kconfig (renamed from board/synopsys/emdk/Kconfig) | 6 | ||||
-rw-r--r-- | board/synopsys/emsdp/MAINTAINERS (renamed from board/synopsys/emdk/MAINTAINERS) | 5 | ||||
-rw-r--r-- | board/synopsys/emsdp/Makefile (renamed from board/synopsys/emdk/Makefile) | 2 | ||||
-rw-r--r-- | board/synopsys/emsdp/README (renamed from board/synopsys/emdk/README) | 11 | ||||
-rw-r--r-- | board/synopsys/emsdp/emsdp.c (renamed from board/synopsys/emdk/emdk.c) | 18 |
5 files changed, 22 insertions, 20 deletions
diff --git a/board/synopsys/emdk/Kconfig b/board/synopsys/emsdp/Kconfig index a9b834dbfd..8228bb5c74 100644 --- a/board/synopsys/emdk/Kconfig +++ b/board/synopsys/emsdp/Kconfig | |||
@@ -1,12 +1,12 @@ | |||
1 | if TARGET_EMDK | 1 | if TARGET_EMSDP |
2 | 2 | ||
3 | config SYS_BOARD | 3 | config SYS_BOARD |
4 | default "emdk" | 4 | default "emsdp" |
5 | 5 | ||
6 | config SYS_VENDOR | 6 | config SYS_VENDOR |
7 | default "synopsys" | 7 | default "synopsys" |
8 | 8 | ||
9 | config SYS_CONFIG_NAME | 9 | config SYS_CONFIG_NAME |
10 | default "emdk" | 10 | default "emsdp" |
11 | 11 | ||
12 | endif | 12 | endif |
diff --git a/board/synopsys/emdk/MAINTAINERS b/board/synopsys/emsdp/MAINTAINERS index 605e338445..6404013957 100644 --- a/board/synopsys/emdk/MAINTAINERS +++ b/board/synopsys/emsdp/MAINTAINERS | |||
@@ -1,5 +1,6 @@ | |||
1 | EM DEVELOPMENT KIT BOARD | 1 | EM DEVELOPMENT KIT BOARD |
2 | M: Alexey Brodkin <abrodkin@synopsys.com> | 2 | M: Alexey Brodkin <abrodkin@synopsys.com> |
3 | S: Maintained | 3 | S: Maintained |
4 | F: board/synopsys/emdk/ | 4 | F: arch/arc/dts/emsdp.dts |
5 | F: configs/emdk_defconfig | 5 | F: board/synopsys/emsdp/ |
6 | F: configs/emsdp_defconfig | ||
diff --git a/board/synopsys/emdk/Makefile b/board/synopsys/emsdp/Makefile index 4926c4e307..733a48c46a 100644 --- a/board/synopsys/emdk/Makefile +++ b/board/synopsys/emsdp/Makefile | |||
@@ -4,4 +4,4 @@ | |||
4 | # SPDX-License-Identifier: GPL-2.0+ | 4 | # SPDX-License-Identifier: GPL-2.0+ |
5 | # | 5 | # |
6 | 6 | ||
7 | obj-y += emdk.o | 7 | obj-y += emsdp.o |
diff --git a/board/synopsys/emdk/README b/board/synopsys/emsdp/README index 706b547a9e..034062e397 100644 --- a/board/synopsys/emdk/README +++ b/board/synopsys/emsdp/README | |||
@@ -1,11 +1,12 @@ | |||
1 | ================================================================================ | 1 | ================================================================================ |
2 | Useful notes on bulding and using of U-Boot on ARC EM Development Kit (AKA EMDK) | 2 | Useful notes on bulding and using of U-Boot on |
3 | ARC EM Software Development Platform (AKA EMSDP) | ||
3 | ================================================================================ | 4 | ================================================================================ |
4 | 5 | ||
5 | BOARD OVERVIEW | 6 | BOARD OVERVIEW |
6 | 7 | ||
7 | The DesignWare ARC EM Development Kit is FPGA-bases platform for rapid | 8 | The DesignWare ARC EM Software Development Platform is FPGA-bases platform |
8 | software development on the ARC EM family of processors. | 9 | for rapid software development on the ARC EM family of processors. |
9 | 10 | ||
10 | Since this board is based on FPGA it's possible to load and use different | 11 | Since this board is based on FPGA it's possible to load and use different |
11 | versions of ARC EM CPUs. U-Boot is built to be run on the simplest | 12 | versions of ARC EM CPUs. U-Boot is built to be run on the simplest |
@@ -50,7 +51,7 @@ Useful notes on bulding and using of U-Boot on ARC EM Development Kit (AKA EMDK) | |||
50 | 51 | ||
51 | 1. Configure U-Boot: | 52 | 1. Configure U-Boot: |
52 | ------------------------->8---------------------- | 53 | ------------------------->8---------------------- |
53 | make emdk_defconfig | 54 | make emsdp_defconfig |
54 | ------------------------->8---------------------- | 55 | ------------------------->8---------------------- |
55 | 56 | ||
56 | 2. To build Elf file (for example to be used with host debugger via JTAG | 57 | 2. To build Elf file (for example to be used with host debugger via JTAG |
@@ -69,7 +70,7 @@ Useful notes on bulding and using of U-Boot on ARC EM Development Kit (AKA EMDK) | |||
69 | 70 | ||
70 | EXECUTING U-BOOT | 71 | EXECUTING U-BOOT |
71 | 72 | ||
72 | 1. The EMDK board is supposed to auto-start U-Boot image stored in ROM on | 73 | 1. The EMSDP board is supposed to auto-start U-Boot image stored in ROM on |
73 | power-on. For that make sure VCCIO DIP-switches are all in "off" state. | 74 | power-on. For that make sure VCCIO DIP-switches are all in "off" state. |
74 | 75 | ||
75 | 2. Though it is possible to load U-Boot as a simple Elf file via JTAG right | 76 | 2. Though it is possible to load U-Boot as a simple Elf file via JTAG right |
diff --git a/board/synopsys/emdk/emdk.c b/board/synopsys/emsdp/emsdp.c index 79cafefb8b..b5ec7f17ec 100644 --- a/board/synopsys/emdk/emdk.c +++ b/board/synopsys/emsdp/emsdp.c | |||
@@ -55,7 +55,7 @@ void reset_cpu(ulong addr) | |||
55 | ; /* loop forever till reset */ | 55 | ; /* loop forever till reset */ |
56 | } | 56 | } |
57 | 57 | ||
58 | static int do_emdk_rom(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) | 58 | static int do_emsdp_rom(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) |
59 | { | 59 | { |
60 | u32 creg_boot = readl((u32 *)(CREG_BASE + CREG_BOOT_OFFSET)); | 60 | u32 creg_boot = readl((u32 *)(CREG_BASE + CREG_BOOT_OFFSET)); |
61 | 61 | ||
@@ -71,17 +71,17 @@ static int do_emdk_rom(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) | |||
71 | return CMD_RET_SUCCESS; | 71 | return CMD_RET_SUCCESS; |
72 | } | 72 | } |
73 | 73 | ||
74 | cmd_tbl_t cmd_emdk[] = { | 74 | cmd_tbl_t cmd_emsdp[] = { |
75 | U_BOOT_CMD_MKENT(rom, 2, 0, do_emdk_rom, "", ""), | 75 | U_BOOT_CMD_MKENT(rom, 2, 0, do_emsdp_rom, "", ""), |
76 | }; | 76 | }; |
77 | 77 | ||
78 | static int do_emdk(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) | 78 | static int do_emsdp(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) |
79 | { | 79 | { |
80 | cmd_tbl_t *c; | 80 | cmd_tbl_t *c; |
81 | 81 | ||
82 | c = find_cmd_tbl(argv[1], cmd_emdk, ARRAY_SIZE(cmd_emdk)); | 82 | c = find_cmd_tbl(argv[1], cmd_emsdp, ARRAY_SIZE(cmd_emsdp)); |
83 | 83 | ||
84 | /* Strip off leading 'emdk' command */ | 84 | /* Strip off leading 'emsdp' command */ |
85 | argc--; | 85 | argc--; |
86 | argv++; | 86 | argv++; |
87 | 87 | ||
@@ -92,8 +92,8 @@ static int do_emdk(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) | |||
92 | } | 92 | } |
93 | 93 | ||
94 | U_BOOT_CMD( | 94 | U_BOOT_CMD( |
95 | emdk, CONFIG_SYS_MAXARGS, 0, do_emdk, | 95 | emsdp, CONFIG_SYS_MAXARGS, 0, do_emsdp, |
96 | "Synopsys EMDK specific commands", | 96 | "Synopsys EMSDP specific commands", |
97 | "rom unlock - Unlock non-volatile memory for writing\n" | 97 | "rom unlock - Unlock non-volatile memory for writing\n" |
98 | "emdk rom lock - Lock non-volatile memory to prevent writing\n" | 98 | "emsdp rom lock - Lock non-volatile memory to prevent writing\n" |
99 | ); | 99 | ); |