mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-07 12:00:38 +00:00
ARM: S3C244X: Merge plat-s3c24xx s3c2440.h and s3c2442.h into s3c244x.h
Merge these two headers into one, these two SoCs are so similar. Note, correct fault in mach-smdk2443.h including the wrong header. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
This commit is contained in:
parent
58bac7b8de
commit
84c9b7271a
@ -28,7 +28,7 @@
|
|||||||
#include <mach/regs-dsc.h>
|
#include <mach/regs-dsc.h>
|
||||||
|
|
||||||
#include <plat/cpu.h>
|
#include <plat/cpu.h>
|
||||||
#include <plat/s3c2440.h>
|
#include <plat/s3c244x.h>
|
||||||
|
|
||||||
int s3c2440_set_dsc(unsigned int pin, unsigned int value)
|
int s3c2440_set_dsc(unsigned int pin, unsigned int value)
|
||||||
{
|
{
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#include <plat/iic.h>
|
#include <plat/iic.h>
|
||||||
|
|
||||||
#include <plat/s3c2410.h>
|
#include <plat/s3c2410.h>
|
||||||
#include <plat/s3c2440.h>
|
#include <plat/s3c244x.h>
|
||||||
#include <plat/clock.h>
|
#include <plat/clock.h>
|
||||||
#include <plat/devs.h>
|
#include <plat/devs.h>
|
||||||
#include <plat/cpu.h>
|
#include <plat/cpu.h>
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#include <plat/iic.h>
|
#include <plat/iic.h>
|
||||||
|
|
||||||
#include <plat/s3c2410.h>
|
#include <plat/s3c2410.h>
|
||||||
#include <plat/s3c2440.h>
|
#include <plat/s3c244x.h>
|
||||||
#include <plat/clock.h>
|
#include <plat/clock.h>
|
||||||
#include <plat/devs.h>
|
#include <plat/devs.h>
|
||||||
#include <plat/cpu.h>
|
#include <plat/cpu.h>
|
||||||
|
@ -29,9 +29,9 @@
|
|||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <asm/irq.h>
|
#include <asm/irq.h>
|
||||||
|
|
||||||
#include <plat/s3c2440.h>
|
|
||||||
#include <plat/devs.h>
|
#include <plat/devs.h>
|
||||||
#include <plat/cpu.h>
|
#include <plat/cpu.h>
|
||||||
|
#include <plat/s3c244x.h>
|
||||||
|
|
||||||
static struct sys_device s3c2440_sysdev = {
|
static struct sys_device s3c2440_sysdev = {
|
||||||
.cls = &s3c2440_sysclass,
|
.cls = &s3c2440_sysclass,
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
#include <mach/regs-dsc.h>
|
#include <mach/regs-dsc.h>
|
||||||
|
|
||||||
#include <plat/s3c2410.h>
|
#include <plat/s3c2410.h>
|
||||||
#include <plat/s3c2440.h>
|
|
||||||
#include <plat/s3c244x.h>
|
#include <plat/s3c244x.h>
|
||||||
#include <plat/clock.h>
|
#include <plat/clock.h>
|
||||||
#include <plat/devs.h>
|
#include <plat/devs.h>
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
#include <plat/iic.h>
|
#include <plat/iic.h>
|
||||||
|
|
||||||
#include <plat/s3c2410.h>
|
#include <plat/s3c2410.h>
|
||||||
#include <plat/s3c2440.h>
|
#include <plat/s3c2443.h>
|
||||||
#include <plat/clock.h>
|
#include <plat/clock.h>
|
||||||
#include <plat/devs.h>
|
#include <plat/devs.h>
|
||||||
#include <plat/cpu.h>
|
#include <plat/cpu.h>
|
||||||
|
@ -50,8 +50,6 @@
|
|||||||
#include <plat/s3c2410.h>
|
#include <plat/s3c2410.h>
|
||||||
#include <plat/s3c2412.h>
|
#include <plat/s3c2412.h>
|
||||||
#include <plat/s3c244x.h>
|
#include <plat/s3c244x.h>
|
||||||
#include <plat/s3c2440.h>
|
|
||||||
#include <plat/s3c2442.h>
|
|
||||||
#include <plat/s3c2443.h>
|
#include <plat/s3c2443.h>
|
||||||
|
|
||||||
/* table of supported CPUs */
|
/* table of supported CPUs */
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
/* linux/include/asm-arm/plat-s3c24xx/s3c2440.h
|
|
||||||
*
|
|
||||||
* Copyright (c) 2004-2005 Simtec Electronics
|
|
||||||
* Ben Dooks <ben@simtec.co.uk>
|
|
||||||
*
|
|
||||||
* Header file for s3c2440 cpu support
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2 as
|
|
||||||
* published by the Free Software Foundation.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef CONFIG_CPU_S3C2440
|
|
||||||
extern int s3c2440_init(void);
|
|
||||||
#else
|
|
||||||
#define s3c2440_init NULL
|
|
||||||
#endif
|
|
@ -1,17 +0,0 @@
|
|||||||
/* linux/include/asm-arm/plat-s3c24xx/s3c2442.h
|
|
||||||
*
|
|
||||||
* Copyright (c) 2006 Simtec Electronics
|
|
||||||
* Ben Dooks <ben@simtec.co.uk>
|
|
||||||
*
|
|
||||||
* Header file for s3c2442 cpu support
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License version 2 as
|
|
||||||
* published by the Free Software Foundation.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifdef CONFIG_CPU_S3C2442
|
|
||||||
extern int s3c2442_init(void);
|
|
||||||
#else
|
|
||||||
#define s3c2442_init NULL
|
|
||||||
#endif
|
|
@ -23,3 +23,15 @@ extern void s3c244x_init_clocks(int xtal);
|
|||||||
#define s3c244x_init_uarts NULL
|
#define s3c244x_init_uarts NULL
|
||||||
#define s3c244x_map_io NULL
|
#define s3c244x_map_io NULL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_CPU_S3C2440
|
||||||
|
extern int s3c2440_init(void);
|
||||||
|
#else
|
||||||
|
#define s3c2440_init NULL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_CPU_S3C2442
|
||||||
|
extern int s3c2442_init(void);
|
||||||
|
#else
|
||||||
|
#define s3c2442_init NULL
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user