summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-10-04 01:20:19 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-10-20 15:02:37 +0200
commit7ac38053538f45032f8f52e99d5cd3368c06037c (patch)
treef138e518352520377db458fadc32262cda32b787 /drivers
parent81362c2b2a81d63f93e9534aa624c7f265c55947 (diff)
downloadbarebox-7ac38053538f45032f8f52e99d5cd3368c06037c.tar.gz
barebox-7ac38053538f45032f8f52e99d5cd3368c06037c.tar.xz
at91: add cpu devices common api
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/nand/atmel_nand.c2
-rw-r--r--drivers/net/macb.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/nand/atmel_nand.c b/drivers/nand/atmel_nand.c
index df4873eeb3..9481990b8b 100644
--- a/drivers/nand/atmel_nand.c
+++ b/drivers/nand/atmel_nand.c
@@ -32,7 +32,7 @@
#include <linux/mtd/nand.h>
#include <asm/io.h>
-#include <asm/arch/atmel_nand.h>
+#include <asm/arch/board.h>
#include <errno.h>
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index 2d1a1e845d..fabb4fa8f3 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb.c
@@ -47,8 +47,8 @@
#include <miiphy.h>
#include <errno.h>
#include <asm/io.h>
+#include <asm/arch/board.h>
#include <asm/arch/clk.h>
-#include <asm/arch/ether.h>
#include "macb.h"
@@ -411,7 +411,7 @@ static int macb_probe(struct device_d *dev)
struct macb_device *macb;
unsigned long macb_hz;
u32 ncfgr;
- struct at91sam_ether_platform_data *pdata;
+ struct at91_ether_platform_data *pdata;
if (!dev->platform_data) {
printf("macb: no platform_data\n");