summaryrefslogtreecommitdiff
path: root/board/phytec
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-02-14 00:46:44 +0300
committerStefano Babic <sbabic@denx.de>2019-04-13 21:30:08 +0300
commitfea63a5d7df09968635562959f1fcb403a37d1c5 (patch)
treed5570f6828b219e985bbefabf7b9a51500a39b4c /board/phytec
parenta01cc0ac62d89942404415d42ea0d016a828502c (diff)
downloadu-boot-fea63a5d7df09968635562959f1fcb403a37d1c5.tar.xz
pcm052: board: Remove "m4go" command as it is superseded by "bootaux"
The "m4go" provides exactly the same functionality as the IMX generic "bootaux" command. Remove it to not duplicate the code. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'board/phytec')
-rw-r--r--board/phytec/pcm052/pcm052.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/board/phytec/pcm052/pcm052.c b/board/phytec/pcm052/pcm052.c
index cfc8009102..4e4b870304 100644
--- a/board/phytec/pcm052/pcm052.c
+++ b/board/phytec/pcm052/pcm052.c
@@ -577,41 +577,3 @@ int checkboard(void)
return 0;
}
-
-static int do_m4go(cmd_tbl_t *cmdtp, int flag, int argc,
- char * const argv[])
-{
- ulong addr;
-
- /* Consume 'm4go' */
- argc--; argv++;
-
- /*
- * Parse provided address - default to load_addr in case not provided.
- */
-
- if (argc)
- addr = simple_strtoul(argv[0], NULL, 16);
- else
- addr = load_addr;
-
- /*
- * Write boot address in PERSISTENT_ENTRY1[31:0] aka SRC_GPR2[31:0]
- */
- writel(addr + 0x401, 0x4006E028);
-
- /*
- * Start secondary processor by enabling its clock
- */
- writel(0x15a5a, 0x4006B08C);
-
- return 1;
-}
-
-U_BOOT_CMD(
- m4go, 2 /* one arg max */, 1 /* repeatable */, do_m4go,
- "start the secondary Cortex-M4 from scatter file image",
- "[<addr>]\n"
- " - start secondary Cortex-M4 core using a scatter file image\n"
- "The argument needs to be a scatter file\n"
-);