summaryrefslogtreecommitdiff
path: root/drivers/qe/uccf.c
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2013-06-13 11:21:13 -0500
committerTom Rini <trini@ti.com>2013-06-18 10:43:30 -0400
commit7d47d1caa01682fd7b12631409927139f09ba041 (patch)
treea1e22b7e98f7571a31c68d1391b1dce03cfa9899 /drivers/qe/uccf.c
parent45dbbf29bb58934d7c75b38429927b058ff69f9c (diff)
downloadu-boot-imx-7d47d1caa01682fd7b12631409927139f09ba041.zip
u-boot-imx-7d47d1caa01682fd7b12631409927139f09ba041.tar.gz
u-boot-imx-7d47d1caa01682fd7b12631409927139f09ba041.tar.bz2
arm: omap4: panda: Add reading of the board revision
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 <dmurphy@ti.com> [trini: %s/CONTROL_PADCONF_CORE/(*ctrl)->control_padconf_core_base/ and formatting for that] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/qe/uccf.c')
0 files changed, 0 insertions, 0 deletions