From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Wed, 3 Nov 2010 11:20:54 +0100 Subject: [U-Boot] [PATCH 2/2] [RFC] drivers:atmel-related: fixup include to hardware.h In-Reply-To: <4CD01BF4.7040403@emk-elektronik.de> References: <4CD01BF4.7040403@emk-elektronik.de> Message-ID: <1288779654-32567-2-git-send-email-biessmann@corscience.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de - change includes from memory-map.h to hardware.h - fixup mmci_writel()/mmci_readl() Signed-off-by: Andreas Bie?mann --- drivers/mmc/atmel_mci.c | 2 +- drivers/mmc/atmel_mci.h | 4 ++-- drivers/mmc/gen_atmel_mci.c | 2 +- drivers/serial/atmel_usart.c | 2 +- drivers/spi/atmel_spi.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/mmc/atmel_mci.c b/drivers/mmc/atmel_mci.c index 3946ffe..0af8d42 100644 --- a/drivers/mmc/atmel_mci.c +++ b/drivers/mmc/atmel_mci.c @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include "atmel_mci.h" diff --git a/drivers/mmc/atmel_mci.h b/drivers/mmc/atmel_mci.h index 823a77d..90ab6a8 100644 --- a/drivers/mmc/atmel_mci.h +++ b/drivers/mmc/atmel_mci.h @@ -238,8 +238,8 @@ typedef struct atmel_mci { * Register access macros */ #define mmci_readl(reg) \ - readl((void *)MMCI_BASE + MMCI_##reg) + readl((void *)ATMEL_BASE_MMCI + MMCI_##reg) #define mmci_writel(reg,value) \ - writel((value), (void *)MMCI_BASE + MMCI_##reg) + writel((value), (void *)ATMEL_BASE_MMCI + MMCI_##reg) #endif /* __CPU_AT32AP_ATMEL_MCI_H__ */ diff --git a/drivers/mmc/gen_atmel_mci.c b/drivers/mmc/gen_atmel_mci.c index fa4df99..5463250 100644 --- a/drivers/mmc/gen_atmel_mci.c +++ b/drivers/mmc/gen_atmel_mci.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include "atmel_mci.h" #ifndef CONFIG_SYS_MMC_CLK_OD diff --git a/drivers/serial/atmel_usart.c b/drivers/serial/atmel_usart.c index fb5375d..cb45fa2 100644 --- a/drivers/serial/atmel_usart.c +++ b/drivers/serial/atmel_usart.c @@ -23,7 +23,7 @@ #include #include -#include +#include #include "atmel_usart.h" diff --git a/drivers/spi/atmel_spi.c b/drivers/spi/atmel_spi.c index 99470c7..33e38b6 100644 --- a/drivers/spi/atmel_spi.c +++ b/drivers/spi/atmel_spi.c @@ -26,7 +26,7 @@ #include #include -#include +#include #include "atmel_spi.h" -- 1.7.2.3