From 234735ab26cf1f3c80233fc18d062a1c756018da Mon Sep 17 00:00:00 2001 From: Kyungmin Park Date: Wed, 11 Mar 2009 11:05:55 +0900 Subject: [PATCH] --- yaml --- r: 149247 b: refs/heads/master c: 87c4122f1714f96faa1b1c9449f762b9c56f77e4 h: refs/heads/master i: 149245: 04747c3e1ddb733f92a6b38ef1b135213a29cdca 149243: c71b512d175d5d3d71aca40630427d98decba5c3 149239: 68595094c7f5b37b4d8bfbcc2225d3752d51960c 149231: ba8166dea94c5c7ad5fae32b84e5bc3f2c39487c 149215: 5c45b9383d173a2b3660d24f159aac0a6b3901ea 149183: f6ae78e016e719fa92f49094b5a3935ec7b155fe 149119: 2ac15d8f8edabd99c34a2e15b84a59ed57897d17 148991: 8c49d479d3fcd84b583ded945953a4c852e57206 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-s3c6410/Kconfig | 9 +++ trunk/arch/arm/mach-s3c6410/Makefile | 1 + trunk/arch/arm/mach-s3c6410/mach-ncp.c | 107 +++++++++++++++++++++++++ 4 files changed, 118 insertions(+), 1 deletion(-) create mode 100644 trunk/arch/arm/mach-s3c6410/mach-ncp.c diff --git a/[refs] b/[refs] index c213c62abd99..da77776e078c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ecc558acaba9ca1c6e2e7b54a1edb73ee391ae17 +refs/heads/master: 87c4122f1714f96faa1b1c9449f762b9c56f77e4 diff --git a/trunk/arch/arm/mach-s3c6410/Kconfig b/trunk/arch/arm/mach-s3c6410/Kconfig index ffa4974efddf..53350b4493bd 100644 --- a/trunk/arch/arm/mach-s3c6410/Kconfig +++ b/trunk/arch/arm/mach-s3c6410/Kconfig @@ -77,3 +77,12 @@ config SMDK6410_WM1190_EV1 module into the kernel. The presence of the module will be detected at runtime so the the resulting kernel can be used with or without the 1190-EV1 fitted. + +config MACH_NCP + bool "NCP" + select CPU_S3C6410 + select S3C_DEV_I2C1 + select S3C_DEV_HSMMC1 + select S3C64XX_SETUP_I2C1 + help + Machine support for the Samsung NCP diff --git a/trunk/arch/arm/mach-s3c6410/Makefile b/trunk/arch/arm/mach-s3c6410/Makefile index 2cd4f189036b..03e9ea6c64e7 100644 --- a/trunk/arch/arm/mach-s3c6410/Makefile +++ b/trunk/arch/arm/mach-s3c6410/Makefile @@ -21,3 +21,4 @@ obj-$(CONFIG_S3C6410_SETUP_SDHCI) += setup-sdhci.o # machine support obj-$(CONFIG_MACH_SMDK6410) += mach-smdk6410.o +obj-$(CONFIG_MACH_NCP) += mach-ncp.o diff --git a/trunk/arch/arm/mach-s3c6410/mach-ncp.c b/trunk/arch/arm/mach-s3c6410/mach-ncp.c new file mode 100644 index 000000000000..6030636f8548 --- /dev/null +++ b/trunk/arch/arm/mach-s3c6410/mach-ncp.c @@ -0,0 +1,107 @@ +/* + * linux/arch/arm/mach-s3c6410/mach-ncp.c + * + * Copyright (C) 2008-2009 Samsung Electronics + * + * 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. + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include