From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rabin Vincent Date: Thu, 8 Apr 2010 19:13:11 +0530 Subject: [U-Boot] [PATCHv2 04/13] Nomadik: move timer code to drivers/misc In-Reply-To: <1270734200-17762-4-git-send-email-rabin.vincent@stericsson.com> References: <1270734200-17762-1-git-send-email-rabin.vincent@stericsson.com> <1270734200-17762-2-git-send-email-rabin.vincent@stericsson.com> <1270734200-17762-3-git-send-email-rabin.vincent@stericsson.com> <1270734200-17762-4-git-send-email-rabin.vincent@stericsson.com> Message-ID: <1270734200-17762-5-git-send-email-rabin.vincent@stericsson.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The Nomadik MTU driver will also be used on the U8500 SoC, so move it out of platform-specific code. Acked-by: Alessandro Rubini Acked-by: Michael Brandt Signed-off-by: Rabin Vincent --- cpu/arm926ejs/nomadik/Makefile | 2 +- drivers/misc/Makefile | 1 + .../nomadik/timer.c => drivers/misc/nomadik_mtu.c | 0 include/configs/nhk8815.h | 1 + 4 files changed, 3 insertions(+), 1 deletions(-) rename cpu/arm926ejs/nomadik/timer.c => drivers/misc/nomadik_mtu.c (100%) diff --git a/cpu/arm926ejs/nomadik/Makefile b/cpu/arm926ejs/nomadik/Makefile index 0fc9f2a..180db8b 100644 --- a/cpu/arm926ejs/nomadik/Makefile +++ b/cpu/arm926ejs/nomadik/Makefile @@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(SOC).a -COBJS = timer.o gpio.o +COBJS = gpio.o SOBJS = reset.o SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index f6df60f..5c0c6f3 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile @@ -28,6 +28,7 @@ LIB := $(obj)libmisc.a COBJS-$(CONFIG_ALI152X) += ali512x.o COBJS-$(CONFIG_DS4510) += ds4510.o COBJS-$(CONFIG_FSL_LAW) += fsl_law.o +COBJS-$(CONFIG_NOMADIK_MTU) += nomadik_mtu.o COBJS-$(CONFIG_NS87308) += ns87308.o COBJS-$(CONFIG_STATUS_LED) += status_led.o COBJS-$(CONFIG_TWL4030_LED) += twl4030_led.o diff --git a/cpu/arm926ejs/nomadik/timer.c b/drivers/misc/nomadik_mtu.c similarity index 100% rename from cpu/arm926ejs/nomadik/timer.c rename to drivers/misc/nomadik_mtu.c diff --git a/include/configs/nhk8815.h b/include/configs/nhk8815.h index 376f43d..d84e787 100644 --- a/include/configs/nhk8815.h +++ b/include/configs/nhk8815.h @@ -97,6 +97,7 @@ /* timing informazion */ #define CONFIG_SYS_HZ 1000 /* Mandatory... */ #define CONFIG_SYS_TIMERBASE 0x101E2000 +#define CONFIG_NOMADIK_MTU /* serial port (PL011) configuration */ #define CONFIG_PL011_SERIAL -- 1.7.0