summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-08-28 09:00:28 -0400
committerTom Rini <trini@ti.com>2013-11-01 15:30:22 -0400
commit155d424a9a0228e2f38ce21a92b20c31896d61d2 (patch)
tree787d83dfc4399221718262f540b61a961d9e48e0 /drivers
parent5d4d38d1cc89f523118219b1a38713d94fe72b3b (diff)
downloadu-boot-imx-155d424a9a0228e2f38ce21a92b20c31896d61d2.zip
u-boot-imx-155d424a9a0228e2f38ce21a92b20c31896d61d2.tar.gz
u-boot-imx-155d424a9a0228e2f38ce21a92b20c31896d61d2.tar.bz2
am33xx, davinci: Create and use <asm/davinci_rtc.h>
Create a common header file for the RTC IP block that is shared between davinci and am33xx. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/bootcount/bootcount_davinci.c3
-rw-r--r--drivers/rtc/davinci.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/bootcount/bootcount_davinci.c b/drivers/bootcount/bootcount_davinci.c
index efa4d42..eddd940 100644
--- a/drivers/bootcount/bootcount_davinci.c
+++ b/drivers/bootcount/bootcount_davinci.c
@@ -6,8 +6,7 @@
*/
#include <bootcount.h>
-#include <asm/arch/da850_lowlevel.h>
-#include <asm/arch/davinci_misc.h>
+#include <asm/davinci_rtc.h>
void bootcount_store(ulong a)
{
diff --git a/drivers/rtc/davinci.c b/drivers/rtc/davinci.c
index 018779e..f862e2f 100644
--- a/drivers/rtc/davinci.c
+++ b/drivers/rtc/davinci.c
@@ -8,7 +8,7 @@
#include <command.h>
#include <rtc.h>
#include <asm/io.h>
-#include <asm/arch/hardware.h>
+#include <asm/davinci_rtc.h>
#if defined(CONFIG_CMD_DATE)
int rtc_get(struct rtc_time *tmp)