mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Bo Shen <voice.shen@atmel.com>
To: s.hauer@pengutronix.de
Cc: barebox@lists.infradead.org
Subject: [PATCH 1/2] ARM: atmel: sama5d4 xplained: correct the name
Date: Thu, 15 Jan 2015 15:28:01 +0800	[thread overview]
Message-ID: <1421306882-2188-1-git-send-email-voice.shen@atmel.com> (raw)

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

             reply	other threads:[~2015-01-15  7:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-15  7:28 Bo Shen [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1421306882-2188-1-git-send-email-voice.shen@atmel.com \
    --to=voice.shen@atmel.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox