diff options
author | Tom Rini <trini@konsulko.com> | 2017-03-14 11:08:10 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-05 13:52:01 -0400 |
commit | ea3310e8aafad1da72d9a5e60568d725cbdefdbd (patch) | |
tree | 869faa824f09ce4d40f2ce503a607ceb28b5ce91 /arch/blackfin/lib/boot.c | |
parent | c3b7cfe15ec1db047182d4ec55a3ce05f19bdf38 (diff) |
Blackfin: Remove
The architecture is currently unmaintained, remove.
Cc: Benjamin Matthews <mben12@gmail.com>
Cc: Chong Huang <chuang@ucrobotics.com>
Cc: Dimitar Penev <dpn@switchfin.org>
Cc: Haitao Zhang <hzhang@ucrobotics.com>
Cc: I-SYST Micromodule <support@i-syst.com>
Cc: M.Hasewinkel (MHA) <info@ssv-embedded.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Martin Strubel <strubel@section5.ch>
Cc: Peter Meerwald <devel@bct-electronic.com>
Cc: Sonic Zhang <sonic.adi@gmail.com>
Cc: Valentin Yakovenkov <yakovenkov@niistt.ru>
Cc: Wojtek Skulski <info@skutek.com>
Cc: Wojtek Skulski <skulski@pas.rochester.edu>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/blackfin/lib/boot.c')
-rw-r--r-- | arch/blackfin/lib/boot.c | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/arch/blackfin/lib/boot.c b/arch/blackfin/lib/boot.c deleted file mode 100644 index fd4c82e9c8..0000000000 --- a/arch/blackfin/lib/boot.c +++ /dev/null @@ -1,74 +0,0 @@ -/* - * U-Boot - boot.c - misc boot helper functions - * - * Copyright (c) 2005-2008 Analog Devices Inc. - * - * (C) Copyright 2000-2004 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * Licensed under the GPL-2 or later. - */ - -#include <common.h> -#include <command.h> -#include <image.h> -#include <asm/blackfin.h> - -#ifdef SHARED_RESOURCES -extern void swap_to(int device_id); -#endif - -#ifdef CONFIG_VIDEO -extern void video_stop(void); -#endif - -static char *make_command_line(void) -{ - char *dest = (char *)CONFIG_LINUX_CMDLINE_ADDR; - char *bootargs = getenv("bootargs"); - - if (bootargs == NULL) - return NULL; - - strncpy(dest, bootargs, CONFIG_LINUX_CMDLINE_SIZE); - dest[CONFIG_LINUX_CMDLINE_SIZE - 1] = 0; - return dest; -} - -extern ulong bfin_poweron_retx; - -int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *images) -{ - int (*appl) (char *cmdline); - char *cmdline; - - if (flag & BOOTM_STATE_OS_PREP) - return 0; - if ((flag != 0) && (flag != BOOTM_STATE_OS_GO)) - return 1; - -#ifdef SHARED_RESOURCES - swap_to(FLASH); -#endif - -#ifdef CONFIG_VIDEO - /* maybe this should be standardized and moved to bootm ... */ - video_stop(); -#endif - - appl = (int (*)(char *))images->ep; - - printf("Starting Kernel at = %p\n", appl); - cmdline = make_command_line(); - icache_disable(); - dcache_disable(); - asm __volatile__( - "RETX = %[retx];" - "CALL (%0);" - : - : "p"(appl), "q0"(cmdline), [retx] "d"(bfin_poweron_retx) - ); - /* does not return */ - - return 1; -} |