mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 18:41:48 +00:00
5753897591
S3C2412/S3C2416/S3C2443 use a special register to signal the reset to the processor and used therefore the s3c24xx_reset_hook mechanism in the s3c24xx-specific arch reset. This patch introduces restart functions for these architectures, moves the board files to them and removes the s3c24xx_reset_hook infrastructure, as all users are gone. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
34 lines
842 B
C
34 lines
842 B
C
/* linux/arch/arm/plat-samsung/include/plat/s3c2416.h
|
|
*
|
|
* Copyright (c) 2009 Yauhen Kharuzhy <jekhor@gmail.com>
|
|
*
|
|
* Header file for s3c2416 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_S3C2416
|
|
|
|
struct s3c2410_uartcfg;
|
|
|
|
extern int s3c2416_init(void);
|
|
|
|
extern void s3c2416_map_io(void);
|
|
|
|
extern void s3c2416_init_uarts(struct s3c2410_uartcfg *cfg, int no);
|
|
|
|
extern void s3c2416_init_clocks(int xtal);
|
|
|
|
extern int s3c2416_baseclk_add(void);
|
|
|
|
extern void s3c2416_restart(char mode, const char *cmd);
|
|
#else
|
|
#define s3c2416_init_clocks NULL
|
|
#define s3c2416_init_uarts NULL
|
|
#define s3c2416_map_io NULL
|
|
#define s3c2416_init NULL
|
|
#define s3c2416_restart NULL
|
|
#endif
|