From: Tom Rini Date: Thu, 13 Jun 2013 08:47:33 -0400 Subject: [U-Boot] [PATCH] arm: omap4: panda: Add reading of the board revision In-Reply-To: <1371059667-18065-1-git-send-email-dmurphy@ti.com> References: <1371059667-18065-1-git-send-email-dmurphy@ti.com> Message-ID: <20130613124733.GA5616@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Jun 12, 2013 at 12:54:27PM -0500, Dan Murphy wrote: > Detect if we are running on a panda revision A1-A6, > or an ES panda board. This can be done by reading > the level of GPIOs and checking the processor revisions. > This should result in: > Panda 4430: > GPIO171, GPIO101, GPIO182: 0 1 1 => A1-A5 > GPIO171, GPIO101, GPIO182: 1 0 1 => A6 > Panda ES: > GPIO2, GPIO3, GPIO171, GPIO48, GPIO182: 0 0 0 1 1 => B1/B2 > GPIO2, GPIO3, GPIO171, GPIO48, GPIO182: 0 0 1 1 1 => B3 > > Set the board name appropriately for the board revision that > is detected. > > Update the findfdt macro to load the a4 device tree binary. > > Signed-off-by: Dan Murphy Running checkpatch.pl: total: 0 errors, 7 warnings, 1 checks, 97 lines checked Please fix, thanks. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: