* [U-Boot] [PATCH] ARM: at91: sama5d3: add support for sama5d36 chip
@ 2013-11-05 7:07 Josh Wu
2013-11-05 10:08 ` Bo Shen
2013-11-13 21:22 ` [U-Boot] " Andreas Bießmann
0 siblings, 2 replies; 3+ messages in thread
From: Josh Wu @ 2013-11-05 7:07 UTC (permalink / raw)
To: u-boot
The SAMA5D36 chip is the superset product of SAMA5D3x family.
For detail information please refer to:
http://www.atmel.com/Microsite/sama5d3/default.aspx
Signed-off-by: Josh Wu <josh.wu@atmel.com>
---
arch/arm/cpu/armv7/at91/sama5d3_devices.c | 4 +++-
arch/arm/include/asm/arch-at91/sama5d3.h | 3 +++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/arm/cpu/armv7/at91/sama5d3_devices.c b/arch/arm/cpu/armv7/at91/sama5d3_devices.c
index 51f0a6d..7ebee87 100644
--- a/arch/arm/cpu/armv7/at91/sama5d3_devices.c
+++ b/arch/arm/cpu/armv7/at91/sama5d3_devices.c
@@ -15,7 +15,7 @@
unsigned int has_emac()
{
- return cpu_is_sama5d31() || cpu_is_sama5d35();
+ return cpu_is_sama5d31() || cpu_is_sama5d35() || cpu_is_sama5d36();
}
unsigned int has_gmac()
@@ -42,6 +42,8 @@ char *get_cpu_name()
return "SAMA5D34";
case ARCH_EXID_SAMA5D35:
return "SAMA5D35";
+ case ARCH_EXID_SAMA5D36:
+ return "SAMA5D36";
default:
return "Unknown CPU type";
}
diff --git a/arch/arm/include/asm/arch-at91/sama5d3.h b/arch/arm/include/asm/arch-at91/sama5d3.h
index 123a627..6d936f4 100644
--- a/arch/arm/include/asm/arch-at91/sama5d3.h
+++ b/arch/arm/include/asm/arch-at91/sama5d3.h
@@ -79,6 +79,7 @@
#define ARCH_EXID_SAMA5D33 0x00414300
#define ARCH_EXID_SAMA5D34 0x00414301
#define ARCH_EXID_SAMA5D35 0x00584300
+#define ARCH_EXID_SAMA5D36 0x00004301
#define cpu_is_sama5d3() (get_chip_id() == ARCH_ID_SAMA5D3)
#define cpu_is_sama5d31() (cpu_is_sama5d3() && \
@@ -89,6 +90,8 @@
(get_extension_chip_id() == ARCH_EXID_SAMA5D34))
#define cpu_is_sama5d35() (cpu_is_sama5d3() && \
(get_extension_chip_id() == ARCH_EXID_SAMA5D35))
+#define cpu_is_sama5d36() (cpu_is_sama5d3() && \
+ (get_extension_chip_id() == ARCH_EXID_SAMA5D36))
/*
* User Peripherals physical base addresses.
--
1.7.10
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] ARM: at91: sama5d3: add support for sama5d36 chip
2013-11-05 7:07 [U-Boot] [PATCH] ARM: at91: sama5d3: add support for sama5d36 chip Josh Wu
@ 2013-11-05 10:08 ` Bo Shen
2013-11-13 21:22 ` [U-Boot] " Andreas Bießmann
1 sibling, 0 replies; 3+ messages in thread
From: Bo Shen @ 2013-11-05 10:08 UTC (permalink / raw)
To: u-boot
Hi Josh,
On 11/5/2013 15:07, Josh Wu wrote:
> The SAMA5D36 chip is the superset product of SAMA5D3x family.
>
> For detail information please refer to:
> http://www.atmel.com/Microsite/sama5d3/default.aspx
>
> Signed-off-by: Josh Wu <josh.wu@atmel.com>
> ---
> arch/arm/cpu/armv7/at91/sama5d3_devices.c | 4 +++-
> arch/arm/include/asm/arch-at91/sama5d3.h | 3 +++
> 2 files changed, 6 insertions(+), 1 deletion(-)
Acked-by: Bo Shen <voice.shen@atmel.com>
> diff --git a/arch/arm/cpu/armv7/at91/sama5d3_devices.c b/arch/arm/cpu/armv7/at91/sama5d3_devices.c
> index 51f0a6d..7ebee87 100644
> --- a/arch/arm/cpu/armv7/at91/sama5d3_devices.c
> +++ b/arch/arm/cpu/armv7/at91/sama5d3_devices.c
> @@ -15,7 +15,7 @@
>
> unsigned int has_emac()
> {
> - return cpu_is_sama5d31() || cpu_is_sama5d35();
> + return cpu_is_sama5d31() || cpu_is_sama5d35() || cpu_is_sama5d36();
> }
>
> unsigned int has_gmac()
> @@ -42,6 +42,8 @@ char *get_cpu_name()
> return "SAMA5D34";
> case ARCH_EXID_SAMA5D35:
> return "SAMA5D35";
> + case ARCH_EXID_SAMA5D36:
> + return "SAMA5D36";
> default:
> return "Unknown CPU type";
> }
> diff --git a/arch/arm/include/asm/arch-at91/sama5d3.h b/arch/arm/include/asm/arch-at91/sama5d3.h
> index 123a627..6d936f4 100644
> --- a/arch/arm/include/asm/arch-at91/sama5d3.h
> +++ b/arch/arm/include/asm/arch-at91/sama5d3.h
> @@ -79,6 +79,7 @@
> #define ARCH_EXID_SAMA5D33 0x00414300
> #define ARCH_EXID_SAMA5D34 0x00414301
> #define ARCH_EXID_SAMA5D35 0x00584300
> +#define ARCH_EXID_SAMA5D36 0x00004301
>
> #define cpu_is_sama5d3() (get_chip_id() == ARCH_ID_SAMA5D3)
> #define cpu_is_sama5d31() (cpu_is_sama5d3() && \
> @@ -89,6 +90,8 @@
> (get_extension_chip_id() == ARCH_EXID_SAMA5D34))
> #define cpu_is_sama5d35() (cpu_is_sama5d3() && \
> (get_extension_chip_id() == ARCH_EXID_SAMA5D35))
> +#define cpu_is_sama5d36() (cpu_is_sama5d3() && \
> + (get_extension_chip_id() == ARCH_EXID_SAMA5D36))
>
> /*
> * User Peripherals physical base addresses.
>
Best Regards,
Bo Shen
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] ARM: at91: sama5d3: add support for sama5d36 chip
2013-11-05 7:07 [U-Boot] [PATCH] ARM: at91: sama5d3: add support for sama5d36 chip Josh Wu
2013-11-05 10:08 ` Bo Shen
@ 2013-11-13 21:22 ` Andreas Bießmann
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Bießmann @ 2013-11-13 21:22 UTC (permalink / raw)
To: u-boot
Dear Josh Wu,
Josh Wu <Josh.wu@atmel.com> writes:
>The SAMA5D36 chip is the superset product of SAMA5D3x family.
>
>For detail information please refer to:
> http://www.atmel.com/Microsite/sama5d3/default.aspx
>
>Signed-off-by: Josh Wu <josh.wu@atmel.com>
>Acked-by: Bo Shen <voice.shen@atmel.com>
>
>---
>arch/arm/cpu/armv7/at91/sama5d3_devices.c | 4 +++-
> arch/arm/include/asm/arch-at91/sama5d3.h | 3 +++
> 2 files changed, 6 insertions(+), 1 deletion(-)
applied to u-boot-atmel/master, thanks!
Best regards,
Andreas Bie?mann
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-13 21:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-05 7:07 [U-Boot] [PATCH] ARM: at91: sama5d3: add support for sama5d36 chip Josh Wu
2013-11-05 10:08 ` Bo Shen
2013-11-13 21:22 ` [U-Boot] " Andreas Bießmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.