arm: Remove support for lpc2292
Subsystems (3)
PATCH 1/6 arm: Remove support for lpc2292
This stuff has been rotting in the tree for a year now. Remove it.
--- arch/arm/cpu/arm720t/cpu.c | 2 +- arch/arm/cpu/arm720t/interrupts.c | 28 +-- arch/arm/cpu/arm720t/lpc2292/Makefile | 50 ---- arch/arm/cpu/arm720t/lpc2292/flash.c | 249 -------------------- arch/arm/cpu/arm720t/lpc2292/iap_entry.S | 7 - arch/arm/cpu/arm720t/lpc2292/mmc.c | 131 ---------- arch/arm/cpu/arm720t/lpc2292/mmc_hw.c | 233 ------------------ arch/arm/cpu/arm720t/lpc2292/mmc_hw.h | 29 --- arch/arm/cpu/arm720t/lpc2292/spi.c | 40 ---- arch/arm/cpu/arm720t/start.S | 69 +----- arch/arm/include/asm/arch-lpc2292/hardware.h | 33 --- .../include/asm/arch-lpc2292/lpc2292_registers.h | 225 ------------------ arch/arm/include/asm/arch-lpc2292/spi.h | 82 ------- drivers/i2c/soft_i2c.c | 3 - drivers/serial/Makefile | 1 - drivers/serial/serial_lpc2292.c | 104 -------- include/flash.h | 1 - 17 files changed, 3 insertions(+), 1284 deletions(-) delete mode 100644 arch/arm/cpu/arm720t/lpc2292/Makefile delete mode 100644 arch/arm/cpu/arm720t/lpc2292/flash.c delete mode 100644 arch/arm/cpu/arm720t/lpc2292/iap_entry.S delete mode 100644 arch/arm/cpu/arm720t/lpc2292/mmc.c delete mode 100644 arch/arm/cpu/arm720t/lpc2292/mmc_hw.c delete mode 100644 arch/arm/cpu/arm720t/lpc2292/mmc_hw.h delete mode 100644 arch/arm/cpu/arm720t/lpc2292/spi.c delete mode 100644 arch/arm/include/asm/arch-lpc2292/hardware.h delete mode 100644 arch/arm/include/asm/arch-lpc2292/lpc2292_registers.h delete mode 100644 arch/arm/include/asm/arch-lpc2292/spi.h delete mode 100644 drivers/serial/serial_lpc2292.c
arch/arm/cpu/arm720t/cpu.c +1 -1
@@ -46,7 +46,7 @@ int cleanup_before_linux (void)* and we set the CPU-speed to 73 MHz - see start.S for details */ -#if defined(CONFIG_NETARM ) || defined(CONFIG_S3C4510B ) || defined(CONFIG_LPC2292 ) +#if defined(CONFIG_NETARM ) || defined(CONFIG_S3C4510B )disable_interrupts ();/* Nothing more needed */ #elif defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR )
arch/arm/cpu/arm720t/interrupts.c +1 -27
@@ -37,11 +37,6 @@/* macro to read the 16 bit timer */ #define READ_TIMER (IO_TC1D & 0xffff) -#ifdef CONFIG_LPC2292 -#undef READ_TIMER -#define READ_TIMER (0xFFFFFFFF - GET32(T0TC)) -#endif -#else #define IRQEN (*(volatile unsigned int *)(NETARM_GEN_MODULE_BASE + NETARM_GEN_INTR_ENABLE))#define TM2CTRL (*(volatile unsigned int *)(NETARM_GEN_MODULE_BASE + NETARM_GEN_TIMER2_CONTROL))
@@ -73,13 +68,6 @@ void do_irq (struct pt_regs *pt_regs) }#elif defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR)/* No do_irq() for IntegratorAP/CM720T as yet */ -#elif defined(CONFIG_LPC2292) - -void (*pfnct)(void ); - - pfnct = (void (*)(void ))VICVectAddr; - - (*pfnct)();#else #error do_irq() not defined for this CPU type#endif
@@ -172,14 +160,6 @@ int timer_init (void)/* Start timer */ SET_REG (REG_TMOD ,TM0_RUN ); -#elif defined(CONFIG_LPC2292 ) -PUT32 (T0IR ,0 );/* disable all timer0 interrupts */ -PUT32 (T0TCR ,0 );/* disable timer0 */ -PUT32 (T0PR ,CONFIG_SYS_SYS_CLK_FREQ /CONFIG_SYS_HZ ); -PUT32 (T0MCR ,0 ); -PUT32 (T0TC ,0 ); -PUT32 (T0TCR ,1 );/* enable timer0 */ -#elif defined(CONFIG_TEGRA )/* No timer routines for tegra as yet */ lastdec =0 ;
@@ -198,7 +178,7 @@ int timer_init (void)*/ -#if defined(CONFIG_NETARM ) || defined(CONFIG_LPC2292 ) +#if defined(CONFIG_NETARM )ulong get_timer (ulong base) {
@@ -216,12 +196,6 @@ void __udelay (unsigned long usec) tmo +=get_timer (0 ); while (get_timer_masked () < tmo) -#ifdef CONFIG_LPC2292 -/* GJ - not sure whether this is really needed or a misunderstanding */ - __asm__ __volatile__(" nop" ); -#else -/*NOP*/ ; -#endif }ulong get_timer_masked (void )
arch/arm/cpu/arm720t/lpc2292/Makefile deleted +0 -50
50 lines not on this page · raw message
arch/arm/cpu/arm720t/lpc2292/flash.c deleted +0 -249
249 lines not on this page · raw message
arch/arm/cpu/arm720t/lpc2292/iap_entry.S deleted +0 -7
@@ -1,7 +0,0 @@ -IAP_ADDRESS: .word 0x7FFFFFF1 - -.globl iap_entry -iap_entry: - ldr r2, IAP_ADDRESS - bx r2 - mov pc, lr
arch/arm/cpu/arm720t/lpc2292/mmc.c deleted +0 -131
131 lines not on this page · raw message
arch/arm/cpu/arm720t/lpc2292/mmc_hw.c deleted +0 -233
233 lines not on this page · raw message
arch/arm/cpu/arm720t/lpc2292/mmc_hw.h deleted +0 -29
@@ -1,29 +0,0 @@ -/* -This module implements a linux character device driver for the 24c256 chip. -Copyright (C) 2006 Embedded Artists AB (www.embeddedartists.com) - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - -#ifndef _MMC_HW_ -#define _MMC_HW_ - -unsigned char mmc_read_csd (unsigned char *Buffer); -unsigned char mmc_read_sector (unsigned long addr, -unsigned char *Buffer); -unsigned char mmc_write_sector (unsigned long addr,unsigned char *Buffer); -int mmc_hw_init (void ); - -#endif /* _MMC_HW_ */
arch/arm/cpu/arm720t/lpc2292/spi.c deleted +0 -40
@@ -1,40 +0,0 @@ -/* -This module implements an interface to the SPI on the lpc22xx. -Copyright (C) 2006 Embedded Artists AB (www.embeddedartists.com) - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - -#include <config.h> -#include <common.h> -#include <asm/errno.h> -#include <asm/arch/hardware.h> -#include <asm/arch/spi.h> - -unsigned long spi_flags; -unsigned char spi_idle =0x00 ; - -int spi_init (void ) -{ -unsigned long pinsel0_value; - -/* activate spi pins */ - pinsel0_value =GET32 (PINSEL0 ); - pinsel0_value &= ~(0xFFl <<8 ); - pinsel0_value |= (0x55l <<8 ); -PUT32 (PINSEL0 , pinsel0_value); - -return 0 ; -}
arch/arm/cpu/arm720t/start.S +1 -68
106 lines not on this page · raw message
arch/arm/include/asm/arch-lpc2292/hardware.h deleted +0 -33
@@ -1,33 +0,0 @@ -#ifndef __ASM_ARCH_HARDWARE_H -#define __ASM_ARCH_HARDWARE_H - -/* -* Copyright (c) 2004 Cucy Systems (http://www.cucy.com) -* Curt Brune <[email protected]> -* -* See file CREDITS for list of people who contributed to this -* project. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, -* MA 02111-1307 USA -*/ - -#if defined(CONFIG_LPC2292 ) -#include <asm/arch-lpc2292/lpc2292_registers.h> -#else -#error No hardware file defined for this configuration -#endif - -#endif /* __ASM_ARCH_HARDWARE_H */
arch/arm/include/asm/arch-lpc2292/lpc2292_registers.h deleted +0 -225
225 lines not on this page · raw message
arch/arm/include/asm/arch-lpc2292/spi.h deleted +0 -82
82 lines not on this page · raw message
drivers/i2c/soft_i2c.c +0 -3
@@ -41,9 +41,6 @@#ifdef CONFIG_IXP425 /* only valid for IXP425 */ #include <asm/arch/ixp425.h> #endif -#ifdef CONFIG_LPC2292 -#include <asm/arch/hardware.h> -#endif #if defined(CONFIG_MPC852T ) || defined(CONFIG_MPC866 )#include <asm/io.h> #endif
drivers/serial/Makefile +0 -1
@@ -42,7 +42,6 @@ COBJS-$(CONFIG_CLPS7111_SERIAL) += serial_clps7111.o COBJS-$(CONFIG_IMX_SERIAL) += serial_imx.o COBJS-$(CONFIG_IXP_SERIAL) += serial_ixp.o COBJS-$(CONFIG_KS8695_SERIAL) += serial_ks8695.o -COBJS-$(CONFIG_LPC2292_SERIAL) += serial_lpc2292.o COBJS-$(CONFIG_LH7A40X_SERIAL) += serial_lh7a40x.o COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o COBJS-$(CONFIG_MXC_UART) += serial_mxc.o
drivers/serial/serial_lpc2292.c deleted +0 -104
104 lines not on this page · raw message
include/flash.h +0 -1
@@ -348,7 +348,6 @@ extern flash_info_t *flash_get_info(ulong base);#define TOSH_ID_FVT160 0xC2/* TC58FVT160 ID (16 M, top ) */ #define TOSH_ID_FVB160 0x43/* TC58FVT160 ID (16 M, bottom ) */ -#define PHILIPS_LPC2292 0x0401FF13/* LPC2292 internal FLASH */ #define NUMONYX_256MBIT 0x8922/* Numonyx P33/30 256MBit 65nm */ /*-----------------------------------------------------------------------
Signature · 1 line
1.7.10.4
PATCH 1/6 arm: Remove support for lpc2292
This stuff has been rotting in the tree for a year now. Remove it.
--- arch/arm/cpu/arm720t/cpu.c | 2 +- arch/arm/cpu/arm720t/interrupts.c | 28 +-- arch/arm/cpu/arm720t/lpc2292/Makefile | 50 ---- arch/arm/cpu/arm720t/lpc2292/flash.c | 249 -------------------- arch/arm/cpu/arm720t/lpc2292/iap_entry.S | 7 - arch/arm/cpu/arm720t/lpc2292/mmc.c | 131 ---------- arch/arm/cpu/arm720t/lpc2292/mmc_hw.c | 233 ------------------ arch/arm/cpu/arm720t/lpc2292/mmc_hw.h | 29 --- arch/arm/cpu/arm720t/lpc2292/spi.c | 40 ---- arch/arm/cpu/arm720t/start.S | 69 +----- arch/arm/include/asm/arch-lpc2292/hardware.h | 33 --- .../include/asm/arch-lpc2292/lpc2292_registers.h | 225 ------------------ arch/arm/include/asm/arch-lpc2292/spi.h | 82 ------- drivers/i2c/soft_i2c.c | 3 - drivers/serial/Makefile | 1 - drivers/serial/serial_lpc2292.c | 104 -------- include/flash.h | 1 - 17 files changed, 3 insertions(+), 1284 deletions(-) delete mode 100644 arch/arm/cpu/arm720t/lpc2292/Makefile delete mode 100644 arch/arm/cpu/arm720t/lpc2292/flash.c delete mode 100644 arch/arm/cpu/arm720t/lpc2292/iap_entry.S delete mode 100644 arch/arm/cpu/arm720t/lpc2292/mmc.c delete mode 100644 arch/arm/cpu/arm720t/lpc2292/mmc_hw.c delete mode 100644 arch/arm/cpu/arm720t/lpc2292/mmc_hw.h delete mode 100644 arch/arm/cpu/arm720t/lpc2292/spi.c delete mode 100644 arch/arm/include/asm/arch-lpc2292/hardware.h delete mode 100644 arch/arm/include/asm/arch-lpc2292/lpc2292_registers.h delete mode 100644 arch/arm/include/asm/arch-lpc2292/spi.h delete mode 100644 drivers/serial/serial_lpc2292.c
arch/arm/cpu/arm720t/cpu.c +1 -1
@@ -46,7 +46,7 @@ int cleanup_before_linux (void)* and we set the CPU-speed to 73 MHz - see start.S for details */ -#if defined(CONFIG_NETARM ) || defined(CONFIG_S3C4510B ) || defined(CONFIG_LPC2292 ) +#if defined(CONFIG_NETARM ) || defined(CONFIG_S3C4510B )disable_interrupts ();/* Nothing more needed */ #elif defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR )
arch/arm/cpu/arm720t/interrupts.c +1 -27
@@ -37,11 +37,6 @@/* macro to read the 16 bit timer */ #define READ_TIMER (IO_TC1D & 0xffff) -#ifdef CONFIG_LPC2292 -#undef READ_TIMER -#define READ_TIMER (0xFFFFFFFF - GET32(T0TC)) -#endif -#else #define IRQEN (*(volatile unsigned int *)(NETARM_GEN_MODULE_BASE + NETARM_GEN_INTR_ENABLE))#define TM2CTRL (*(volatile unsigned int *)(NETARM_GEN_MODULE_BASE + NETARM_GEN_TIMER2_CONTROL))
@@ -73,13 +68,6 @@ void do_irq (struct pt_regs *pt_regs) }#elif defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR)/* No do_irq() for IntegratorAP/CM720T as yet */ -#elif defined(CONFIG_LPC2292) - -void (*pfnct)(void ); - - pfnct = (void (*)(void ))VICVectAddr; - - (*pfnct)();#else #error do_irq() not defined for this CPU type#endif
@@ -172,14 +160,6 @@ int timer_init (void)/* Start timer */ SET_REG (REG_TMOD ,TM0_RUN ); -#elif defined(CONFIG_LPC2292 ) -PUT32 (T0IR ,0 );/* disable all timer0 interrupts */ -PUT32 (T0TCR ,0 );/* disable timer0 */ -PUT32 (T0PR ,CONFIG_SYS_SYS_CLK_FREQ /CONFIG_SYS_HZ ); -PUT32 (T0MCR ,0 ); -PUT32 (T0TC ,0 ); -PUT32 (T0TCR ,1 );/* enable timer0 */ -#elif defined(CONFIG_TEGRA )/* No timer routines for tegra as yet */ lastdec =0 ;
@@ -198,7 +178,7 @@ int timer_init (void)*/ -#if defined(CONFIG_NETARM ) || defined(CONFIG_LPC2292 ) +#if defined(CONFIG_NETARM )ulong get_timer (ulong base) {
@@ -216,12 +196,6 @@ void __udelay (unsigned long usec) tmo +=get_timer (0 ); while (get_timer_masked () < tmo) -#ifdef CONFIG_LPC2292 -/* GJ - not sure whether this is really needed or a misunderstanding */ - __asm__ __volatile__(" nop" ); -#else -/*NOP*/ ; -#endif }ulong get_timer_masked (void )
arch/arm/cpu/arm720t/lpc2292/Makefile deleted +0 -50
50 lines not on this page · raw message
arch/arm/cpu/arm720t/lpc2292/flash.c deleted +0 -249
249 lines not on this page · raw message
arch/arm/cpu/arm720t/lpc2292/iap_entry.S deleted +0 -7
@@ -1,7 +0,0 @@ -IAP_ADDRESS: .word 0x7FFFFFF1 - -.globl iap_entry -iap_entry: - ldr r2, IAP_ADDRESS - bx r2 - mov pc, lr
arch/arm/cpu/arm720t/lpc2292/mmc.c deleted +0 -131
131 lines not on this page · raw message
arch/arm/cpu/arm720t/lpc2292/mmc_hw.c deleted +0 -233
233 lines not on this page · raw message
arch/arm/cpu/arm720t/lpc2292/mmc_hw.h deleted +0 -29
@@ -1,29 +0,0 @@ -/* -This module implements a linux character device driver for the 24c256 chip. -Copyright (C) 2006 Embedded Artists AB (www.embeddedartists.com) - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - -#ifndef _MMC_HW_ -#define _MMC_HW_ - -unsigned char mmc_read_csd (unsigned char *Buffer); -unsigned char mmc_read_sector (unsigned long addr, -unsigned char *Buffer); -unsigned char mmc_write_sector (unsigned long addr,unsigned char *Buffer); -int mmc_hw_init (void ); - -#endif /* _MMC_HW_ */
arch/arm/cpu/arm720t/lpc2292/spi.c deleted +0 -40
@@ -1,40 +0,0 @@ -/* -This module implements an interface to the SPI on the lpc22xx. -Copyright (C) 2006 Embedded Artists AB (www.embeddedartists.com) - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - -#include <config.h> -#include <common.h> -#include <asm/errno.h> -#include <asm/arch/hardware.h> -#include <asm/arch/spi.h> - -unsigned long spi_flags; -unsigned char spi_idle =0x00 ; - -int spi_init (void ) -{ -unsigned long pinsel0_value; - -/* activate spi pins */ - pinsel0_value =GET32 (PINSEL0 ); - pinsel0_value &= ~(0xFFl <<8 ); - pinsel0_value |= (0x55l <<8 ); -PUT32 (PINSEL0 , pinsel0_value); - -return 0 ; -}
arch/arm/cpu/arm720t/start.S +1 -68
106 lines not on this page · raw message
arch/arm/include/asm/arch-lpc2292/hardware.h deleted +0 -33
@@ -1,33 +0,0 @@ -#ifndef __ASM_ARCH_HARDWARE_H -#define __ASM_ARCH_HARDWARE_H - -/* -* Copyright (c) 2004 Cucy Systems (http://www.cucy.com) -* Curt Brune <[email protected]> -* -* See file CREDITS for list of people who contributed to this -* project. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation; either version 2 of -* the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, -* MA 02111-1307 USA -*/ - -#if defined(CONFIG_LPC2292 ) -#include <asm/arch-lpc2292/lpc2292_registers.h> -#else -#error No hardware file defined for this configuration -#endif - -#endif /* __ASM_ARCH_HARDWARE_H */
arch/arm/include/asm/arch-lpc2292/lpc2292_registers.h deleted +0 -225
225 lines not on this page · raw message
arch/arm/include/asm/arch-lpc2292/spi.h deleted +0 -82
82 lines not on this page · raw message
drivers/i2c/soft_i2c.c +0 -3
@@ -41,9 +41,6 @@#ifdef CONFIG_IXP425 /* only valid for IXP425 */ #include <asm/arch/ixp425.h> #endif -#ifdef CONFIG_LPC2292 -#include <asm/arch/hardware.h> -#endif #if defined(CONFIG_MPC852T ) || defined(CONFIG_MPC866 )#include <asm/io.h> #endif
drivers/serial/Makefile +0 -1
@@ -42,7 +42,6 @@ COBJS-$(CONFIG_CLPS7111_SERIAL) += serial_clps7111.o COBJS-$(CONFIG_IMX_SERIAL) += serial_imx.o COBJS-$(CONFIG_IXP_SERIAL) += serial_ixp.o COBJS-$(CONFIG_KS8695_SERIAL) += serial_ks8695.o -COBJS-$(CONFIG_LPC2292_SERIAL) += serial_lpc2292.o COBJS-$(CONFIG_LH7A40X_SERIAL) += serial_lh7a40x.o COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o COBJS-$(CONFIG_MXC_UART) += serial_mxc.o
drivers/serial/serial_lpc2292.c deleted +0 -104
104 lines not on this page · raw message
include/flash.h +0 -1
@@ -348,7 +348,6 @@ extern flash_info_t *flash_get_info(ulong base);#define TOSH_ID_FVT160 0xC2/* TC58FVT160 ID (16 M, top ) */ #define TOSH_ID_FVB160 0x43/* TC58FVT160 ID (16 M, bottom ) */ -#define PHILIPS_LPC2292 0x0401FF13/* LPC2292 internal FLASH */ #define NUMONYX_256MBIT 0x8922/* Numonyx P33/30 256MBit 65nm */ /*-----------------------------------------------------------------------
Signature · 1 line
1.7.10.4
PATCH 2/6 arm: Remove support for s3c4510
This stuff has been rotting in the tree for a year now. Remove it.
--- CREDITS | 5 - arch/arm/cpu/arm720t/cpu.c | 2 +- arch/arm/cpu/arm720t/interrupts.c | 106 +--------- arch/arm/cpu/arm720t/s3c4510b/Makefile | 45 ---- arch/arm/cpu/arm720t/s3c4510b/cache.c | 86 -------- arch/arm/cpu/arm720t/start.S | 19 -- arch/arm/include/asm/arch-s3c4510b/hardware.h | 272 ------------------------- drivers/serial/Makefile | 1 - drivers/serial/s3c4510b_uart.c | 212 ------------------- drivers/serial/s3c4510b_uart.h | 109 ---------- 10 files changed, 2 insertions(+), 855 deletions(-) delete mode 100644 arch/arm/cpu/arm720t/s3c4510b/Makefile delete mode 100644 arch/arm/cpu/arm720t/s3c4510b/cache.c delete mode 100644 arch/arm/include/asm/arch-s3c4510b/hardware.h delete mode 100644 drivers/serial/s3c4510b_uart.c delete mode 100644 drivers/serial/s3c4510b_uart.h
CREDITS +0 -5
@@ -79,11 +79,6 @@ N: Oliver Brown E: obrown at adventnetworks.com D: Port to the gw8260 board -N: Curt Brune -E: curt at cucy.com -D: Added support for Samsung S3C4510B CPU (ARM7tdmi based SoC) -W: http://www.cucy.com - N: Jonathan De Bruyne E: jonathan.debruyne at siemens.atea.be D: Port to Siemens IAD210 board
arch/arm/cpu/arm720t/cpu.c +1 -1
@@ -46,7 +46,7 @@ int cleanup_before_linux (void)* and we set the CPU-speed to 73 MHz - see start.S for details */ -#if defined(CONFIG_NETARM ) || defined(CONFIG_S3C4510B ) +#if defined(CONFIG_NETARM )disable_interrupts ();/* Nothing more needed */ #elif defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR )
arch/arm/cpu/arm720t/interrupts.c +1 -105
139 lines not on this page · raw message
arch/arm/cpu/arm720t/s3c4510b/Makefile deleted +0 -45
45 lines not on this page · raw message
arch/arm/cpu/arm720t/s3c4510b/cache.c deleted +0 -86
86 lines not on this page · raw message
arch/arm/cpu/arm720t/start.S +0 -19
@@ -335,22 +335,6 @@ cpu_init_crit: ldr r0, =NETARM_GEN_MODULE_BASE str r1, [r0, #+NETARM_GEN_INTR_ENABLE] -#elif defined(CONFIG_S3C4510B) - - /* - * Mask off all IRQ sources - */ - ldr r1, =REG_INTMASK - ldr r0, =0x3FFFFF - str r0, [r1] - - /* - * Disable Cache - */ - ldr r0, =REG_SYSCFG - ldr r1, =0x83ffffa0 /* cache-disabled */ - str r1, [r0] - #elif defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR) /* No specific initialisation for IntegratorAP/CM720T as yet */ #elif defined(CONFIG_TEGRA)
@@ -569,9 +553,6 @@ reset_cpu: ldr r1, =NETARM_GEN_SW_SVC_RESETB str r1, [r4, #+NETARM_GEN_SOFTWARE_SERVICE] mov pc, r0 -#elif defined(CONFIG_S3C4510B) -/* Nothing done here as reseting the CPU is board specific, depending - * on external peripherals such as watchdog timers, etc. */ #elif defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR) /* No specific reset actions for IntegratorAP/CM720T as yet */ #elif defined(CONFIG_TEGRA)
arch/arm/include/asm/arch-s3c4510b/hardware.h deleted +0 -272
272 lines not on this page · raw message
drivers/serial/Makefile +0 -1
@@ -34,7 +34,6 @@ COBJS-$(CONFIG_MCFUART) += mcfuart.o COBJS-$(CONFIG_NS9750_UART) += ns9750_serial.o COBJS-$(CONFIG_OPENCORES_YANU) += opencores_yanu.o COBJS-$(CONFIG_SYS_NS16550) += ns16550.o -COBJS-$(CONFIG_DRIVER_S3C4510_UART) += s3c4510b_uart.o COBJS-$(CONFIG_S3C64XX) += s3c64xx.o COBJS-$(CONFIG_S5P) += serial_s5p.o COBJS-$(CONFIG_SYS_NS16550_SERIAL) += serial.o
drivers/serial/s3c4510b_uart.c deleted +0 -212
212 lines not on this page · raw message
drivers/serial/s3c4510b_uart.h deleted +0 -109
109 lines not on this page · raw message
Signature · 1 line
1.7.10.4
PATCH 3/6 arm: Remove support for NETARM
In reply to Marek VasutThis stuff has been rotting in the tree for a while now. Remove it.
--- arch/arm/cpu/arm720t/cpu.c | 9 +- arch/arm/cpu/arm720t/interrupts.c | 83 +---- arch/arm/cpu/arm720t/start.S | 75 +---- .../include/asm/arch-arm720t/netarm_dma_module.h | 182 ---------- .../include/asm/arch-arm720t/netarm_eni_module.h | 121 ------- .../include/asm/arch-arm720t/netarm_eth_module.h | 160 --------- .../include/asm/arch-arm720t/netarm_gen_module.h | 186 ----------- .../include/asm/arch-arm720t/netarm_mem_module.h | 184 ---------- .../include/asm/arch-arm720t/netarm_registers.h | 96 ------ .../include/asm/arch-arm720t/netarm_ser_module.h | 347 ------------------- drivers/net/Makefile | 1 - drivers/net/netarm_eth.c | 352 -------------------- drivers/net/netarm_eth.h | 42 --- drivers/serial/Makefile | 1 - drivers/serial/serial_netarm.c | 190 ----------- 15 files changed, 9 insertions(+), 2020 deletions(-) delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_dma_module.h delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_eni_module.h delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_eth_module.h delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_gen_module.h delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_mem_module.h delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_registers.h delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_ser_module.h delete mode 100644 drivers/net/netarm_eth.c delete mode 100644 drivers/net/netarm_eth.h delete mode 100644 drivers/serial/serial_netarm.c
arch/arm/cpu/arm720t/cpu.c +5 -4
@@ -36,6 +36,10 @@#include <asm/hardware.h> #include <asm/system.h> +#if !defined(CONFIG_INTEGRATOR ) || !defined(CONFIG_ARCH_INTEGRATOR ) +#error No cleanup_before_linux() defined for this CPU type +#endif +int cleanup_before_linux (void ) {/*
@@ -46,10 +50,7 @@ int cleanup_before_linux (void)* and we set the CPU-speed to 73 MHz - see start.S for details */ -#if defined(CONFIG_NETARM ) -disable_interrupts (); -/* Nothing more needed */ -#elif defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR ) +#if defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR )/* No cleanup before linux for IntegratorAP/CM720T as yet */ #elif defined(CONFIG_TEGRA )/* No cleanup before linux for tegra as yet */
arch/arm/cpu/arm720t/interrupts.c +2 -81
106 lines not on this page · raw message
arch/arm/cpu/arm720t/start.S +2 -73
87 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_dma_module.h deleted +0 -182
182 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_eni_module.h deleted +0 -121
121 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_eth_module.h deleted +0 -160
160 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_gen_module.h deleted +0 -186
186 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_mem_module.h deleted +0 -184
184 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_registers.h deleted +0 -96
96 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_ser_module.h deleted +0 -347
347 lines not on this page · raw message
drivers/net/Makefile +0 -1
@@ -59,7 +59,6 @@ COBJS-$(CONFIG_MVGBE) += mvgbe.o COBJS-$(CONFIG_NATSEMI) += natsemi.o COBJS-$(CONFIG_DRIVER_NE2000) += ne2000.o ne2000_base.o COBJS-$(CONFIG_DRIVER_AX88796L) += ax88796.o ne2000_base.o -COBJS-$(CONFIG_DRIVER_NETARMETH) += netarm_eth.o COBJS-$(CONFIG_NETCONSOLE) += netconsole.o COBJS-$(CONFIG_NS8382X) += ns8382x.o COBJS-$(CONFIG_PCNET) += pcnet.o
drivers/net/netarm_eth.c deleted +0 -352
352 lines not on this page · raw message
drivers/net/netarm_eth.h deleted +0 -42
42 lines not on this page · raw message
drivers/serial/Makefile +0 -1
@@ -44,7 +44,6 @@ COBJS-$(CONFIG_KS8695_SERIAL) += serial_ks8695.o COBJS-$(CONFIG_LH7A40X_SERIAL) += serial_lh7a40x.o COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o COBJS-$(CONFIG_MXC_UART) += serial_mxc.o -COBJS-$(CONFIG_NETARM_SERIAL) += serial_netarm.o COBJS-$(CONFIG_PL010_SERIAL) += serial_pl01x.o COBJS-$(CONFIG_PL011_SERIAL) += serial_pl01x.o COBJS-$(CONFIG_PXA_SERIAL) += serial_pxa.o
drivers/serial/serial_netarm.c deleted +0 -190
190 lines not on this page · raw message
Signature · 1 line
1.7.10.4
PATCH 4/6 stdio: Remove the CLPS7111 serial driver
In reply to Marek VasutThis driver is no longer used, remove it.
--- arch/arm/cpu/arm720t/cpu.c | 1 - arch/arm/cpu/arm720t/interrupts.c | 1 - drivers/serial/Makefile | 1 - drivers/serial/serial_clps7111.c | 121 ---------------- include/clps7111.h | 276 ------------------------------------- 5 files changed, 400 deletions(-) delete mode 100644 drivers/serial/serial_clps7111.c delete mode 100644 include/clps7111.h
arch/arm/cpu/arm720t/cpu.c +0 -1
@@ -32,7 +32,6 @@#include <common.h> #include <command.h> -#include <clps7111.h> #include <asm/hardware.h> #include <asm/system.h>
arch/arm/cpu/arm720t/interrupts.c +0 -1
@@ -27,7 +27,6 @@*/ #include <common.h> -#include <clps7111.h> #include <asm/proc-armv/ptrace.h> #include <asm/hardware.h>
drivers/serial/Makefile +0 -1
@@ -37,7 +37,6 @@ COBJS-$(CONFIG_SYS_NS16550) += ns16550.o COBJS-$(CONFIG_S3C64XX) += s3c64xx.o COBJS-$(CONFIG_S5P) += serial_s5p.o COBJS-$(CONFIG_SYS_NS16550_SERIAL) += serial.o -COBJS-$(CONFIG_CLPS7111_SERIAL) += serial_clps7111.o COBJS-$(CONFIG_IMX_SERIAL) += serial_imx.o COBJS-$(CONFIG_IXP_SERIAL) += serial_ixp.o COBJS-$(CONFIG_KS8695_SERIAL) += serial_ks8695.o
drivers/serial/serial_clps7111.c deleted +0 -121
121 lines not on this page · raw message
include/clps7111.h deleted +0 -276
276 lines not on this page · raw message
Signature · 1 line
1.7.10.4
PATCH 5/6 arm720: Further clean up the arm720t directory
In reply to Marek VasutClean up away old macros and such, so the file doesn't start piling up cruft.
clean
--- arch/arm/cpu/arm720t/cpu.c | 32 +++++------------------------- arch/arm/cpu/arm720t/interrupts.c | 39 ++----------------------------------- arch/arm/cpu/arm720t/start.S | 15 -------------- 3 files changed, 7 insertions(+), 79 deletions(-)
arch/arm/cpu/arm720t/cpu.c +5 -27
@@ -27,34 +27,12 @@*/ /* -* CPU specific code +* cleanup_before_linux() - Prepare the CPU to jump to Linux +* +* This function is called just before we call Linux, it +* prepares the processor for linux */ - -#include <common.h> -#include <command.h> -#include <asm/hardware.h> -#include <asm/system.h> - -#if !defined(CONFIG_INTEGRATOR ) || !defined(CONFIG_ARCH_INTEGRATOR ) -#error No cleanup_before_linux() defined for this CPU type -#endif - -int cleanup_before_linux (void ) +int cleanup_before_linux (void ) { -/* -* this function is called just before we call linux -* it prepares the processor for linux -* -* we turn off caches etc ... -* and we set the CPU-speed to 73 MHz - see start.S for details -*/ - -#if defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR ) -/* No cleanup before linux for IntegratorAP/CM720T as yet */ -#elif defined(CONFIG_TEGRA ) -/* No cleanup before linux for tegra as yet */ -#else -#error No cleanup_before_linux() defined for this CPU type -#endif return 0 ; }
arch/arm/cpu/arm720t/interrupts.c +2 -37
@@ -26,57 +26,22 @@* MA 02111-1307 USA */ -#include <common.h> -#include <asm/proc-armv/ptrace.h> -#include <asm/hardware.h> - -/* we always count down the max. */ -#define TIMER_LOAD_VAL 0xffff -/* macro to read the 16 bit timer */ -#define READ_TIMER (IO_TC1D & 0xffff) -#ifdef CONFIG_USE_IRQ void do_irq (struct pt_regs *pt_regs) { -#if defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR ) -/* No do_irq() for IntegratorAP/CM720T as yet */ -#else -#error do_irq() not defined for this CPU type -#endif }#endif -#if defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR ) -/* Use IntegratorAP routines in board/integratorap.c */ -#else - +#if defined(CONFIG_TEGRA )static ulong timestamp;static ulong lastdec;int timer_init (void ) { -#if defined(CONFIG_TEGRA )/* No timer routines for tegra as yet */ lastdec =0 ; -#else -#error No timer_init() defined for this CPU type -#endif timestamp =0 ; -return (0 ); +return 0 ; } - -#endif /* ! IntegratorAP */ - -/* -* timer without interrupts -*/ - - -#if defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR ) -/* No timer routines for IntegratorAP/CM720T as yet */ -#elif defined(CONFIG_TEGRA ) -/* No timer routines for tegra as yet */ -#else -#error Timer routines not defined for this CPU type#endif
arch/arm/cpu/arm720t/start.S +0 -15
@@ -284,13 +284,6 @@ _dynsym_start_ofs: */ cpu_init_crit: -#if defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR) - /* No specific initialisation for IntegratorAP/CM720T as yet */ -#elif defined(CONFIG_TEGRA) - /* No cpu_init_crit for tegra as yet */ -#else -#error No cpu_init_crit() defined for current CPU type -#endif #ifdef CONFIG_ARM7_REVD /* set clock speed */
@@ -481,11 +474,3 @@ fiq: #endif #endif /* CONFIG_SPL_BUILD */ - -#if defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR) - /* No specific reset actions for IntegratorAP/CM720T as yet */ -#elif defined(CONFIG_TEGRA) - /* No specific reset actions for tegra as yet */ -#else -#error No reset_cpu() defined for current CPU type -#endif
Signature · 1 line
1.7.10.4
PATCH 6/6 arm720: Remove CONFIG_ARM7_REVD
In reply to Marek VasutThis is a dead code, remove it.
--- arch/arm/cpu/arm720t/start.S | 11 ----------- 1 file changed, 11 deletions(-)
arch/arm/cpu/arm720t/start.S +0 -11
@@ -285,17 +285,6 @@ _dynsym_start_ofs: cpu_init_crit: -#ifdef CONFIG_ARM7_REVD - /* set clock speed */ - /* !!! we run @ 36 MHz due to a hardware flaw in Rev. D processors */ - /* !!! not doing DRAM refresh properly! */ - ldr r0, SYSCON3 - ldr r1, [r0] - bic r1, r1, #CLKCTL - orr r1, r1, #CLKCTL_36 - str r1, [r0] -#endif - #if !defined(CONFIG_TEGRA) mov ip, lr /*
Signature · 1 line
1.7.10.4
PATCH 2/6 arm: Remove support for s3c4510
In reply to Marek VasutThis stuff has been rotting in the tree for a year now. Remove it.
--- CREDITS | 5 - arch/arm/cpu/arm720t/cpu.c | 2 +- arch/arm/cpu/arm720t/interrupts.c | 106 +--------- arch/arm/cpu/arm720t/s3c4510b/Makefile | 45 ---- arch/arm/cpu/arm720t/s3c4510b/cache.c | 86 -------- arch/arm/cpu/arm720t/start.S | 19 -- arch/arm/include/asm/arch-s3c4510b/hardware.h | 272 ------------------------- drivers/serial/Makefile | 1 - drivers/serial/s3c4510b_uart.c | 212 ------------------- drivers/serial/s3c4510b_uart.h | 109 ---------- 10 files changed, 2 insertions(+), 855 deletions(-) delete mode 100644 arch/arm/cpu/arm720t/s3c4510b/Makefile delete mode 100644 arch/arm/cpu/arm720t/s3c4510b/cache.c delete mode 100644 arch/arm/include/asm/arch-s3c4510b/hardware.h delete mode 100644 drivers/serial/s3c4510b_uart.c delete mode 100644 drivers/serial/s3c4510b_uart.h
CREDITS +0 -5
@@ -79,11 +79,6 @@ N: Oliver Brown E: obrown at adventnetworks.com D: Port to the gw8260 board -N: Curt Brune -E: curt at cucy.com -D: Added support for Samsung S3C4510B CPU (ARM7tdmi based SoC) -W: http://www.cucy.com - N: Jonathan De Bruyne E: jonathan.debruyne at siemens.atea.be D: Port to Siemens IAD210 board
arch/arm/cpu/arm720t/cpu.c +1 -1
@@ -46,7 +46,7 @@ int cleanup_before_linux (void)* and we set the CPU-speed to 73 MHz - see start.S for details */ -#if defined(CONFIG_NETARM ) || defined(CONFIG_S3C4510B ) +#if defined(CONFIG_NETARM )disable_interrupts ();/* Nothing more needed */ #elif defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR )
arch/arm/cpu/arm720t/interrupts.c +1 -105
139 lines not on this page · raw message
arch/arm/cpu/arm720t/s3c4510b/Makefile deleted +0 -45
45 lines not on this page · raw message
arch/arm/cpu/arm720t/s3c4510b/cache.c deleted +0 -86
86 lines not on this page · raw message
arch/arm/cpu/arm720t/start.S +0 -19
@@ -335,22 +335,6 @@ cpu_init_crit: ldr r0, =NETARM_GEN_MODULE_BASE str r1, [r0, #+NETARM_GEN_INTR_ENABLE] -#elif defined(CONFIG_S3C4510B) - - /* - * Mask off all IRQ sources - */ - ldr r1, =REG_INTMASK - ldr r0, =0x3FFFFF - str r0, [r1] - - /* - * Disable Cache - */ - ldr r0, =REG_SYSCFG - ldr r1, =0x83ffffa0 /* cache-disabled */ - str r1, [r0] - #elif defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR) /* No specific initialisation for IntegratorAP/CM720T as yet */ #elif defined(CONFIG_TEGRA)
@@ -569,9 +553,6 @@ reset_cpu: ldr r1, =NETARM_GEN_SW_SVC_RESETB str r1, [r4, #+NETARM_GEN_SOFTWARE_SERVICE] mov pc, r0 -#elif defined(CONFIG_S3C4510B) -/* Nothing done here as reseting the CPU is board specific, depending - * on external peripherals such as watchdog timers, etc. */ #elif defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR) /* No specific reset actions for IntegratorAP/CM720T as yet */ #elif defined(CONFIG_TEGRA)
arch/arm/include/asm/arch-s3c4510b/hardware.h deleted +0 -272
272 lines not on this page · raw message
drivers/serial/Makefile +0 -1
@@ -34,7 +34,6 @@ COBJS-$(CONFIG_MCFUART) += mcfuart.o COBJS-$(CONFIG_NS9750_UART) += ns9750_serial.o COBJS-$(CONFIG_OPENCORES_YANU) += opencores_yanu.o COBJS-$(CONFIG_SYS_NS16550) += ns16550.o -COBJS-$(CONFIG_DRIVER_S3C4510_UART) += s3c4510b_uart.o COBJS-$(CONFIG_S3C64XX) += s3c64xx.o COBJS-$(CONFIG_S5P) += serial_s5p.o COBJS-$(CONFIG_SYS_NS16550_SERIAL) += serial.o
drivers/serial/s3c4510b_uart.c deleted +0 -212
212 lines not on this page · raw message
drivers/serial/s3c4510b_uart.h deleted +0 -109
109 lines not on this page · raw message
Signature · 1 line
1.7.10.4
PATCH 3/6 arm: Remove support for NETARM
In reply to Marek VasutThis stuff has been rotting in the tree for a while now. Remove it.
--- arch/arm/cpu/arm720t/cpu.c | 9 +- arch/arm/cpu/arm720t/interrupts.c | 83 +---- arch/arm/cpu/arm720t/start.S | 75 +---- .../include/asm/arch-arm720t/netarm_dma_module.h | 182 ---------- .../include/asm/arch-arm720t/netarm_eni_module.h | 121 ------- .../include/asm/arch-arm720t/netarm_eth_module.h | 160 --------- .../include/asm/arch-arm720t/netarm_gen_module.h | 186 ----------- .../include/asm/arch-arm720t/netarm_mem_module.h | 184 ---------- .../include/asm/arch-arm720t/netarm_registers.h | 96 ------ .../include/asm/arch-arm720t/netarm_ser_module.h | 347 ------------------- drivers/net/Makefile | 1 - drivers/net/netarm_eth.c | 352 -------------------- drivers/net/netarm_eth.h | 42 --- drivers/serial/Makefile | 1 - drivers/serial/serial_netarm.c | 190 ----------- 15 files changed, 9 insertions(+), 2020 deletions(-) delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_dma_module.h delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_eni_module.h delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_eth_module.h delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_gen_module.h delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_mem_module.h delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_registers.h delete mode 100644 arch/arm/include/asm/arch-arm720t/netarm_ser_module.h delete mode 100644 drivers/net/netarm_eth.c delete mode 100644 drivers/net/netarm_eth.h delete mode 100644 drivers/serial/serial_netarm.c
arch/arm/cpu/arm720t/cpu.c +5 -4
@@ -36,6 +36,10 @@#include <asm/hardware.h> #include <asm/system.h> +#if !defined(CONFIG_INTEGRATOR ) || !defined(CONFIG_ARCH_INTEGRATOR ) +#error No cleanup_before_linux() defined for this CPU type +#endif +int cleanup_before_linux (void ) {/*
@@ -46,10 +50,7 @@ int cleanup_before_linux (void)* and we set the CPU-speed to 73 MHz - see start.S for details */ -#if defined(CONFIG_NETARM ) -disable_interrupts (); -/* Nothing more needed */ -#elif defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR ) +#if defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR )/* No cleanup before linux for IntegratorAP/CM720T as yet */ #elif defined(CONFIG_TEGRA )/* No cleanup before linux for tegra as yet */
arch/arm/cpu/arm720t/interrupts.c +2 -81
106 lines not on this page · raw message
arch/arm/cpu/arm720t/start.S +2 -73
87 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_dma_module.h deleted +0 -182
182 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_eni_module.h deleted +0 -121
121 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_eth_module.h deleted +0 -160
160 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_gen_module.h deleted +0 -186
186 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_mem_module.h deleted +0 -184
184 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_registers.h deleted +0 -96
96 lines not on this page · raw message
arch/arm/include/asm/arch-arm720t/netarm_ser_module.h deleted +0 -347
347 lines not on this page · raw message
drivers/net/Makefile +0 -1
@@ -59,7 +59,6 @@ COBJS-$(CONFIG_MVGBE) += mvgbe.o COBJS-$(CONFIG_NATSEMI) += natsemi.o COBJS-$(CONFIG_DRIVER_NE2000) += ne2000.o ne2000_base.o COBJS-$(CONFIG_DRIVER_AX88796L) += ax88796.o ne2000_base.o -COBJS-$(CONFIG_DRIVER_NETARMETH) += netarm_eth.o COBJS-$(CONFIG_NETCONSOLE) += netconsole.o COBJS-$(CONFIG_NS8382X) += ns8382x.o COBJS-$(CONFIG_PCNET) += pcnet.o
drivers/net/netarm_eth.c deleted +0 -352
352 lines not on this page · raw message
drivers/net/netarm_eth.h deleted +0 -42
42 lines not on this page · raw message
drivers/serial/Makefile +0 -1
@@ -44,7 +44,6 @@ COBJS-$(CONFIG_KS8695_SERIAL) += serial_ks8695.o COBJS-$(CONFIG_LH7A40X_SERIAL) += serial_lh7a40x.o COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o COBJS-$(CONFIG_MXC_UART) += serial_mxc.o -COBJS-$(CONFIG_NETARM_SERIAL) += serial_netarm.o COBJS-$(CONFIG_PL010_SERIAL) += serial_pl01x.o COBJS-$(CONFIG_PL011_SERIAL) += serial_pl01x.o COBJS-$(CONFIG_PXA_SERIAL) += serial_pxa.o
drivers/serial/serial_netarm.c deleted +0 -190
190 lines not on this page · raw message
Signature · 1 line
1.7.10.4
PATCH 4/6 stdio: Remove the CLPS7111 serial driver
In reply to Marek VasutThis driver is no longer used, remove it.
--- arch/arm/cpu/arm720t/cpu.c | 1 - arch/arm/cpu/arm720t/interrupts.c | 1 - drivers/serial/Makefile | 1 - drivers/serial/serial_clps7111.c | 121 ---------------- include/clps7111.h | 276 ------------------------------------- 5 files changed, 400 deletions(-) delete mode 100644 drivers/serial/serial_clps7111.c delete mode 100644 include/clps7111.h
arch/arm/cpu/arm720t/cpu.c +0 -1
@@ -32,7 +32,6 @@#include <common.h> #include <command.h> -#include <clps7111.h> #include <asm/hardware.h> #include <asm/system.h>
arch/arm/cpu/arm720t/interrupts.c +0 -1
@@ -27,7 +27,6 @@*/ #include <common.h> -#include <clps7111.h> #include <asm/proc-armv/ptrace.h> #include <asm/hardware.h>
drivers/serial/Makefile +0 -1
@@ -37,7 +37,6 @@ COBJS-$(CONFIG_SYS_NS16550) += ns16550.o COBJS-$(CONFIG_S3C64XX) += s3c64xx.o COBJS-$(CONFIG_S5P) += serial_s5p.o COBJS-$(CONFIG_SYS_NS16550_SERIAL) += serial.o -COBJS-$(CONFIG_CLPS7111_SERIAL) += serial_clps7111.o COBJS-$(CONFIG_IMX_SERIAL) += serial_imx.o COBJS-$(CONFIG_IXP_SERIAL) += serial_ixp.o COBJS-$(CONFIG_KS8695_SERIAL) += serial_ks8695.o
drivers/serial/serial_clps7111.c deleted +0 -121
121 lines not on this page · raw message
include/clps7111.h deleted +0 -276
276 lines not on this page · raw message
Signature · 1 line
1.7.10.4
PATCH 5/6 arm720: Further clean up the arm720t directory
In reply to Marek VasutClean up away old macros and such, so the file doesn't start piling up cruft.
clean
--- arch/arm/cpu/arm720t/cpu.c | 32 +++++------------------------- arch/arm/cpu/arm720t/interrupts.c | 39 ++----------------------------------- arch/arm/cpu/arm720t/start.S | 15 -------------- 3 files changed, 7 insertions(+), 79 deletions(-)
arch/arm/cpu/arm720t/cpu.c +5 -27
@@ -27,34 +27,12 @@*/ /* -* CPU specific code +* cleanup_before_linux() - Prepare the CPU to jump to Linux +* +* This function is called just before we call Linux, it +* prepares the processor for linux */ - -#include <common.h> -#include <command.h> -#include <asm/hardware.h> -#include <asm/system.h> - -#if !defined(CONFIG_INTEGRATOR ) || !defined(CONFIG_ARCH_INTEGRATOR ) -#error No cleanup_before_linux() defined for this CPU type -#endif - -int cleanup_before_linux (void ) +int cleanup_before_linux (void ) { -/* -* this function is called just before we call linux -* it prepares the processor for linux -* -* we turn off caches etc ... -* and we set the CPU-speed to 73 MHz - see start.S for details -*/ - -#if defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR ) -/* No cleanup before linux for IntegratorAP/CM720T as yet */ -#elif defined(CONFIG_TEGRA ) -/* No cleanup before linux for tegra as yet */ -#else -#error No cleanup_before_linux() defined for this CPU type -#endif return 0 ; }
arch/arm/cpu/arm720t/interrupts.c +2 -37
@@ -26,57 +26,22 @@* MA 02111-1307 USA */ -#include <common.h> -#include <asm/proc-armv/ptrace.h> -#include <asm/hardware.h> - -/* we always count down the max. */ -#define TIMER_LOAD_VAL 0xffff -/* macro to read the 16 bit timer */ -#define READ_TIMER (IO_TC1D & 0xffff) -#ifdef CONFIG_USE_IRQ void do_irq (struct pt_regs *pt_regs) { -#if defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR ) -/* No do_irq() for IntegratorAP/CM720T as yet */ -#else -#error do_irq() not defined for this CPU type -#endif }#endif -#if defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR ) -/* Use IntegratorAP routines in board/integratorap.c */ -#else - +#if defined(CONFIG_TEGRA )static ulong timestamp;static ulong lastdec;int timer_init (void ) { -#if defined(CONFIG_TEGRA )/* No timer routines for tegra as yet */ lastdec =0 ; -#else -#error No timer_init() defined for this CPU type -#endif timestamp =0 ; -return (0 ); +return 0 ; } - -#endif /* ! IntegratorAP */ - -/* -* timer without interrupts -*/ - - -#if defined(CONFIG_INTEGRATOR ) && defined(CONFIG_ARCH_INTEGRATOR ) -/* No timer routines for IntegratorAP/CM720T as yet */ -#elif defined(CONFIG_TEGRA ) -/* No timer routines for tegra as yet */ -#else -#error Timer routines not defined for this CPU type#endif
arch/arm/cpu/arm720t/start.S +0 -15
@@ -284,13 +284,6 @@ _dynsym_start_ofs: */ cpu_init_crit: -#if defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR) - /* No specific initialisation for IntegratorAP/CM720T as yet */ -#elif defined(CONFIG_TEGRA) - /* No cpu_init_crit for tegra as yet */ -#else -#error No cpu_init_crit() defined for current CPU type -#endif #ifdef CONFIG_ARM7_REVD /* set clock speed */
@@ -481,11 +474,3 @@ fiq: #endif #endif /* CONFIG_SPL_BUILD */ - -#if defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR) - /* No specific reset actions for IntegratorAP/CM720T as yet */ -#elif defined(CONFIG_TEGRA) - /* No specific reset actions for tegra as yet */ -#else -#error No reset_cpu() defined for current CPU type -#endif
Signature · 1 line
1.7.10.4
PATCH 6/6 arm720: Remove CONFIG_ARM7_REVD
In reply to Marek VasutThis is a dead code, remove it.
--- arch/arm/cpu/arm720t/start.S | 11 ----------- 1 file changed, 11 deletions(-)
arch/arm/cpu/arm720t/start.S +0 -11
@@ -285,17 +285,6 @@ _dynsym_start_ofs: cpu_init_crit: -#ifdef CONFIG_ARM7_REVD - /* set clock speed */ - /* !!! we run @ 36 MHz due to a hardware flaw in Rev. D processors */ - /* !!! not doing DRAM refresh properly! */ - ldr r0, SYSCON3 - ldr r1, [r0] - bic r1, r1, #CLKCTL - orr r1, r1, #CLKCTL_36 - str r1, [r0] -#endif - #if !defined(CONFIG_TEGRA) mov ip, lr /*
Signature · 1 line
1.7.10.4