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/cpu/initcode.h | |
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/cpu/initcode.h')
-rw-r--r-- | arch/blackfin/cpu/initcode.h | 123 |
1 files changed, 0 insertions, 123 deletions
diff --git a/arch/blackfin/cpu/initcode.h b/arch/blackfin/cpu/initcode.h deleted file mode 100644 index ab7fa45075..0000000000 --- a/arch/blackfin/cpu/initcode.h +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Code for early processor initialization - * - * Copyright (c) 2004-2011 Analog Devices Inc. - * - * Licensed under the GPL-2 or later. - */ - -#ifndef __BFIN_INITCODE_H__ -#define __BFIN_INITCODE_H__ - -#include <asm/mach-common/bits/bootrom.h> - -#ifndef BFIN_IN_INITCODE -# define serial_putc(c) -#endif - -#ifndef __ADSPBF60x__ - -#ifndef CONFIG_EBIU_RSTCTL_VAL -# define CONFIG_EBIU_RSTCTL_VAL 0 /* only MDDRENABLE is useful */ -#endif -#if ((CONFIG_EBIU_RSTCTL_VAL & 0xFFFFFFC4) != 0) -# error invalid EBIU_RSTCTL value: must not set reserved bits -#endif - -#ifndef CONFIG_EBIU_MBSCTL_VAL -# define CONFIG_EBIU_MBSCTL_VAL 0 -#endif - -#if defined(CONFIG_EBIU_DDRQUE_VAL) && ((CONFIG_EBIU_DDRQUE_VAL & 0xFFFF8000) != 0) -# error invalid EBIU_DDRQUE value: must not set reserved bits -#endif - -#endif /* __ADSPBF60x__ */ - -__attribute__((always_inline)) static inline void -program_async_controller(ADI_BOOT_DATA *bs) -{ -#ifdef BFIN_IN_INITCODE - /* - * We really only need to setup the async banks early if we're - * booting out of it. Otherwise, do it later on in cpu_init. - */ - if (CONFIG_BFIN_BOOT_MODE != BFIN_BOOT_BYPASS && - CONFIG_BFIN_BOOT_MODE != BFIN_BOOT_PARA) - return; -#endif - - serial_putc('a'); - -#ifndef __ADSPBF60x__ - /* Program the async banks controller. */ -#ifdef EBIU_AMGCTL - bfin_write_EBIU_AMBCTL0(CONFIG_EBIU_AMBCTL0_VAL); - bfin_write_EBIU_AMBCTL1(CONFIG_EBIU_AMBCTL1_VAL); - bfin_write_EBIU_AMGCTL(CONFIG_EBIU_AMGCTL_VAL); -#endif - - serial_putc('b'); - - /* Not all parts have these additional MMRs. */ -#ifdef EBIU_MBSCTL - bfin_write_EBIU_MBSCTL(CONFIG_EBIU_MBSCTL_VAL); -#endif -#ifdef EBIU_MODE -# ifdef CONFIG_EBIU_MODE_VAL - bfin_write_EBIU_MODE(CONFIG_EBIU_MODE_VAL); -# endif -# ifdef CONFIG_EBIU_FCTL_VAL - bfin_write_EBIU_FCTL(CONFIG_EBIU_FCTL_VAL); -# endif -#endif - - serial_putc('c'); - -#else /* __ADSPBF60x__ */ - /* Program the static memory controller. */ -# ifdef CONFIG_SMC_GCTL_VAL - bfin_write_SMC_GCTL(CONFIG_SMC_GCTL_VAL); -# endif -# ifdef CONFIG_SMC_B0CTL_VAL - bfin_write_SMC_B0CTL(CONFIG_SMC_B0CTL_VAL); -# endif -# ifdef CONFIG_SMC_B0TIM_VAL - bfin_write_SMC_B0TIM(CONFIG_SMC_B0TIM_VAL); -# endif -# ifdef CONFIG_SMC_B0ETIM_VAL - bfin_write_SMC_B0ETIM(CONFIG_SMC_B0ETIM_VAL); -# endif -# ifdef CONFIG_SMC_B1CTL_VAL - bfin_write_SMC_B1CTL(CONFIG_SMC_B1CTL_VAL); -# endif -# ifdef CONFIG_SMC_B1TIM_VAL - bfin_write_SMC_B1TIM(CONFIG_SMC_B1TIM_VAL); -# endif -# ifdef CONFIG_SMC_B1ETIM_VAL - bfin_write_SMC_B1ETIM(CONFIG_SMC_B1ETIM_VAL); -# endif -# ifdef CONFIG_SMC_B2CTL_VAL - bfin_write_SMC_B2CTL(CONFIG_SMC_B2CTL_VAL); -# endif -# ifdef CONFIG_SMC_B2TIM_VAL - bfin_write_SMC_B2TIM(CONFIG_SMC_B2TIM_VAL); -# endif -# ifdef CONFIG_SMC_B2ETIM_VAL - bfin_write_SMC_B2ETIM(CONFIG_SMC_B2ETIM_VAL); -# endif -# ifdef CONFIG_SMC_B3CTL_VAL - bfin_write_SMC_B3CTL(CONFIG_SMC_B3CTL_VAL); -# endif -# ifdef CONFIG_SMC_B3TIM_VAL - bfin_write_SMC_B3TIM(CONFIG_SMC_B3TIM_VAL); -# endif -# ifdef CONFIG_SMC_B3ETIM_VAL - bfin_write_SMC_B3ETIM(CONFIG_SMC_B3ETIM_VAL); -# endif - -#endif /* __ADSPBF60x__ */ - serial_putc('d'); -} - -#endif |