diff options
author | Jens Scharsig <js_at_ng@scharsoft.de> | 2010-02-03 22:46:58 +0100 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2010-02-12 12:31:55 -0600 |
commit | 0cf0b93161beb3f3ed5e37e6112aedf15da17e8a (patch) | |
tree | b620b5a93d12d5039bc541be298165a7f06f2212 /drivers/serial/at91rm9200_usart.c | |
parent | 7f9e8633ac9c846e7e4f867507cbd5de1bd99e0c (diff) | |
download | u-boot-imx-0cf0b93161beb3f3ed5e37e6112aedf15da17e8a.zip u-boot-imx-0cf0b93161beb3f3ed5e37e6112aedf15da17e8a.tar.gz u-boot-imx-0cf0b93161beb3f3ed5e37e6112aedf15da17e8a.tar.bz2 |
convert common files to new SoC access
* add's a warning to all files, which need update to new SoC access
* convert common files in cpu/../at91 and a lot of drivers to use
c stucture SoC access
Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
Diffstat (limited to 'drivers/serial/at91rm9200_usart.c')
-rw-r--r-- | drivers/serial/at91rm9200_usart.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/serial/at91rm9200_usart.c b/drivers/serial/at91rm9200_usart.c index 858bde9..05ebbc3 100644 --- a/drivers/serial/at91rm9200_usart.c +++ b/drivers/serial/at91rm9200_usart.c @@ -30,8 +30,16 @@ */ #include <common.h> + +#ifndef CONFIG_AT91_LEGACY #include <asm/io.h> #include <asm/arch/hardware.h> +#define CONFIG_AT91_LEGACY +#include <asm/arch-at91rm9200/AT91RM9200.h> +#warning Please update to use C structur SoC access ! +#else +#include <asm/arch/AT91RM9200.h> +#endif DECLARE_GLOBAL_DATA_PTR; |