From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- .../arch/arm/plat-samsung/include/plat/s3c2410.h | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 ANDROID_3.4.5/arch/arm/plat-samsung/include/plat/s3c2410.h (limited to 'ANDROID_3.4.5/arch/arm/plat-samsung/include/plat/s3c2410.h') diff --git a/ANDROID_3.4.5/arch/arm/plat-samsung/include/plat/s3c2410.h b/ANDROID_3.4.5/arch/arm/plat-samsung/include/plat/s3c2410.h new file mode 100644 index 00000000..55b0e5f5 --- /dev/null +++ b/ANDROID_3.4.5/arch/arm/plat-samsung/include/plat/s3c2410.h @@ -0,0 +1,31 @@ +/* linux/arch/arm/plat-samsung/include/plat/s3c2410.h + * + * Copyright (c) 2004 Simtec Electronics + * Ben Dooks + * + * Header file for s3c2410 machine directory + * + * 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_S3C2410 + +extern int s3c2410_init(void); +extern int s3c2410a_init(void); + +extern void s3c2410_map_io(void); + +extern void s3c2410_init_uarts(struct s3c2410_uartcfg *cfg, int no); + +extern void s3c2410_init_clocks(int xtal); + +#else +#define s3c2410_init_clocks NULL +#define s3c2410_init_uarts NULL +#define s3c2410_map_io NULL +#define s3c2410_init NULL +#define s3c2410a_init NULL +#endif -- cgit