diff options
author | Stefan Roese <sr@denx.de> | 2013-12-04 09:27:36 +0100 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-12-12 14:54:21 -0500 |
commit | fcd9adc3c698349cf23b2561cdb58ca805fc9817 (patch) | |
tree | d2b63476474961697825bd7db003661fa38cc3bf /board/technexion/tao3530/tao3530.c | |
parent | b36f457c1bc726f4452fdc55230a067c1704eaf8 (diff) | |
download | u-boot-imx-fcd9adc3c698349cf23b2561cdb58ca805fc9817.zip u-boot-imx-fcd9adc3c698349cf23b2561cdb58ca805fc9817.tar.gz u-boot-imx-fcd9adc3c698349cf23b2561cdb58ca805fc9817.tar.bz2 |
arm: omap3: Add board revision output to tao3530
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Tapani Utriainen <tapani@technexion.com>
Cc: Thorsten Eisbein <thorsten.eisbein@head-acoustics.de>
Cc: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/technexion/tao3530/tao3530.c')
-rw-r--r-- | board/technexion/tao3530/tao3530.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/board/technexion/tao3530/tao3530.c b/board/technexion/tao3530/tao3530.c index 814537b..5041eaf 100644 --- a/board/technexion/tao3530/tao3530.c +++ b/board/technexion/tao3530/tao3530.c @@ -131,6 +131,23 @@ int misc_init_r(void) writel(GPIO31 | GPIO30 | GPIO29 | GPIO28 | GPIO22 | GPIO21 | GPIO15 | GPIO14 | GPIO13 | GPIO12, &gpio5_base->setdataout); + switch (tao3530_revision()) { + case 0: + puts("TAO-3530 REV Reserve 1\n"); + break; + case 1: + puts("TAO-3530 REV Reserve 2\n"); + break; + case 2: + puts("TAO-3530 REV Cx\n"); + break; + case 3: + puts("TAO-3530 REV Ax/Bx\n"); + break; + default: + puts("Unknown board revision\n"); + } + dieid_num_r(); return 0; |