public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: matthias.fuchs at esd-electronics.com <matthias.fuchs@esd-electronics.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/6] ppc4xx: Handle other board variant in PMC440 FPGA code
Date: Wed,  8 Oct 2008 18:20:06 +0200	[thread overview]
Message-ID: <12234828112213-git-send-email-matthias.fuchs@esd-electronics.com> (raw)

From: Matthias Fuchs <matthias.fuchs@esd-electronics.com>

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
---
 board/esd/pmc440/fpga.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/board/esd/pmc440/fpga.c b/board/esd/pmc440/fpga.c
index a35f42b..a2eda32 100644
--- a/board/esd/pmc440/fpga.c
+++ b/board/esd/pmc440/fpga.c
@@ -220,8 +220,9 @@ int fpga_post_config_fn(int cookie)
 
 	FPGA_OUT32(&fpga->status, (gd->board_type << STATUS_HWREV_SHIFT) & STATUS_HWREV_MASK);
 
-	/* NGCC only: enable ledlink */
-	if ((s = getenv("bd_type")) && !strcmp(s, "ngcc"))
+	/* NGCC/CANDES only: enable ledlink */
+	if ((s = getenv("bd_type")) &&
+	    ((!strcmp(s, "ngcc")) || (!strcmp(s, "candes"))))
 		FPGA_SETBITS(&fpga->ctrla, 0x29f8c000);
 
 	return rc;
-- 
1.5.3

             reply	other threads:[~2008-10-08 16:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-08 16:20 matthias.fuchs at esd-electronics.com [this message]
2008-10-08 16:20 ` [U-Boot] [PATCH 2/6] ppc4xx: Clean up PMC440 header matthias.fuchs at esd-electronics.com
2008-10-08 16:20   ` [U-Boot] [PATCH 3/6] ppc4xx: Fix esd loadpci command matthias.fuchs at esd-electronics.com
2008-10-08 16:20     ` [U-Boot] [PATCH 4/6] ppc4xx: Update PMC440 board configuration matthias.fuchs at esd-electronics.com
2008-10-08 16:20       ` [U-Boot] [PATCH 5/6] ppc4xx: Fix PMC440 BSP commands matthias.fuchs at esd-electronics.com
2008-10-08 16:20         ` [U-Boot] [PATCH 6/6] ppc4xx: Update PMC440 board support matthias.fuchs at esd-electronics.com
2008-10-10 15:30 ` [U-Boot] [PATCH 1/6] ppc4xx: Handle other board variant in PMC440 FPGA code Stefan Roese
2008-10-28 12:11   ` Matthias Fuchs
2008-10-31  9:40     ` Stefan Roese

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=12234828112213-git-send-email-matthias.fuchs@esd-electronics.com \
    --to=matthias.fuchs@esd-electronics.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