* [PATCH 1/2] ARM: atmel: sama5d4 xplained: correct the name
@ 2015-01-15 7:28 Bo Shen
2015-01-15 7:28 ` [PATCH 2/2] ARM: atmel: sama5d4ek: correct the typo Bo Shen
2015-01-16 6:55 ` [PATCH 1/2] ARM: atmel: sama5d4 xplained: correct the name Sascha Hauer
0 siblings, 2 replies; 3+ messages in thread
From: Bo Shen @ 2015-01-15 7:28 UTC (permalink / raw)
To: s.hauer; +Cc: barebox
Correct the function and board name for sama5d4 xplained board.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
.../arm/boards/sama5d4_xplained/sama5d4_xplained.c | 24 +++++++++++-----------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c b/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c
index fe6876a..62a3c87 100644
--- a/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c
+++ b/arch/arm/boards/sama5d4_xplained/sama5d4_xplained.c
@@ -245,15 +245,15 @@ static void ek_add_led(void)
static void ek_add_led(void) {}
#endif
-static int sama5d4ek_mem_init(void)
+static int sama5d4_xplained_mem_init(void)
{
at91_add_device_sdram(0);
return 0;
}
-mem_initcall(sama5d4ek_mem_init);
+mem_initcall(sama5d4_xplained_mem_init);
-static const struct devfs_partition sama5d4ek_nand0_partitions[] = {
+static const struct devfs_partition sama5d4_xplained_nand0_partitions[] = {
{
.offset = 0x00000,
.size = SZ_256K,
@@ -283,7 +283,7 @@ static const struct devfs_partition sama5d4ek_nand0_partitions[] = {
}
};
-static int sama5d4ek_devices_init(void)
+static int sama5d4_xplained_devices_init(void)
{
ek_add_device_i2c();
ek_add_device_nand();
@@ -293,27 +293,27 @@ static int sama5d4ek_devices_init(void)
ek_add_device_mci();
ek_add_device_lcdc();
- devfs_create_partitions("nand0", sama5d4ek_nand0_partitions);
+ devfs_create_partitions("nand0", sama5d4_xplained_nand0_partitions);
return 0;
}
-device_initcall(sama5d4ek_devices_init);
+device_initcall(sama5d4_xplained_devices_init);
-static int sama5d4ek_console_init(void)
+static int sama5d4_xplained_console_init(void)
{
- barebox_set_model("Atmel sama5d4ek");
- barebox_set_hostname("sama5d4ek");
+ barebox_set_model("Atmel sama5d4_xplained");
+ barebox_set_hostname("sama5d4_xplained");
at91_register_uart(4, 0);
return 0;
}
-console_initcall(sama5d4ek_console_init);
+console_initcall(sama5d4_xplained_console_init);
-static int sama5d4ek_main_clock(void)
+static int sama5d4_xplained_main_clock(void)
{
at91_set_main_clock(12000000);
return 0;
}
-pure_initcall(sama5d4ek_main_clock);
+pure_initcall(sama5d4_xplained_main_clock);
--
2.3.0.rc0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] ARM: atmel: sama5d4ek: correct the typo
2015-01-15 7:28 [PATCH 1/2] ARM: atmel: sama5d4 xplained: correct the name Bo Shen
@ 2015-01-15 7:28 ` Bo Shen
2015-01-16 6:55 ` [PATCH 1/2] ARM: atmel: sama5d4 xplained: correct the name Sascha Hauer
1 sibling, 0 replies; 3+ messages in thread
From: Bo Shen @ 2015-01-15 7:28 UTC (permalink / raw)
To: s.hauer; +Cc: barebox
Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
arch/arm/boards/sama5d4ek/sama5d4ek.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boards/sama5d4ek/sama5d4ek.c b/arch/arm/boards/sama5d4ek/sama5d4ek.c
index bbc53c6..1e7c08c 100644
--- a/arch/arm/boards/sama5d4ek/sama5d4ek.c
+++ b/arch/arm/boards/sama5d4ek/sama5d4ek.c
@@ -1,5 +1,5 @@
/*
- * SAMA5D4EK board configureation.
+ * SAMA5D4EK board configuration.
*
* Copyright (C) 2014 Atmel Corporation,
* Bo Shen <voice.shen@atmel.com>
--
2.3.0.rc0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] ARM: atmel: sama5d4 xplained: correct the name
2015-01-15 7:28 [PATCH 1/2] ARM: atmel: sama5d4 xplained: correct the name Bo Shen
2015-01-15 7:28 ` [PATCH 2/2] ARM: atmel: sama5d4ek: correct the typo Bo Shen
@ 2015-01-16 6:55 ` Sascha Hauer
1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2015-01-16 6:55 UTC (permalink / raw)
To: Bo Shen; +Cc: barebox
On Thu, Jan 15, 2015 at 03:28:01PM +0800, Bo Shen wrote:
> Correct the function and board name for sama5d4 xplained board.
>
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> ---
>
> .../arm/boards/sama5d4_xplained/sama5d4_xplained.c | 24 +++++++++++-----------
> 1 file changed, 12 insertions(+), 12 deletions(-)
Applied both, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-16 6:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-15 7:28 [PATCH 1/2] ARM: atmel: sama5d4 xplained: correct the name Bo Shen
2015-01-15 7:28 ` [PATCH 2/2] ARM: atmel: sama5d4ek: correct the typo Bo Shen
2015-01-16 6:55 ` [PATCH 1/2] ARM: atmel: sama5d4 xplained: correct the name Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox