public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/5] mx7dsabresd: Remove get_board_rev()
Date: Sun, 13 Sep 2015 13:06:45 -0300	[thread overview]
Message-ID: <1442160406-24755-4-git-send-email-festevam@gmail.com> (raw)
In-Reply-To: <1442160406-24755-1-git-send-email-festevam@gmail.com>

From: Fabio Estevam <fabio.estevam@freescale.com>

get_board_rev() is not actually providing the board revision.

It just returns the CPU revision instead.

As the CPU revision is already printed on boot, there is no
reason to have get_board_rev(), so let's remove it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 board/freescale/mx7dsabresd/mx7dsabresd.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c
index 4c18b5a..5c37df5 100644
--- a/board/freescale/mx7dsabresd/mx7dsabresd.c
+++ b/board/freescale/mx7dsabresd/mx7dsabresd.c
@@ -477,11 +477,6 @@ int board_late_init(void)
 	return 0;
 }
 
-u32 get_board_rev(void)
-{
-	return get_cpu_rev();
-}
-
 int checkboard(void)
 {
 	puts("Board: i.MX7D SABRESD\n");
-- 
1.9.1

  parent reply	other threads:[~2015-09-13 16:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-13 16:06 [U-Boot] [PATCH 1/5] mx7dsabresd: Staticize when possible Fabio Estevam
2015-09-13 16:06 ` [U-Boot] [PATCH 2/5] mx7dsabreasd: Remove dead code Fabio Estevam
2015-09-20  7:52   ` Stefano Babic
2015-09-13 16:06 ` [U-Boot] [PATCH 3/5] mx7dsabresd: Include USB header Fabio Estevam
2015-09-20  7:53   ` Stefano Babic
2015-09-13 16:06 ` Fabio Estevam [this message]
2015-09-20  7:53   ` [U-Boot] [PATCH 4/5] mx7dsabresd: Remove get_board_rev() Stefano Babic
2015-09-13 16:06 ` [U-Boot] [PATCH 5/5] mx7dsabresd: Remove unused config option Fabio Estevam
2015-09-20  7:53   ` Stefano Babic
2015-09-20  7:52 ` [U-Boot] [PATCH 1/5] mx7dsabresd: Staticize when possible Stefano Babic

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=1442160406-24755-4-git-send-email-festevam@gmail.com \
    --to=festevam@gmail.com \
    --cc=u-boot@lists.denx.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