summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorDirk Behme <dirk.behme@googlemail.com>2009-03-12 19:30:50 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-03-13 23:17:43 +0100
commite6a6a704151c2d7e4a7b485545b48a6020ccca17 (patch)
treec49fa6462c2d8c043919a68e67eed1edff8fa218 /board
parent3c92217732edfc0016c3cbdc828471d013d23a36 (diff)
downloadu-boot-imx-e6a6a704151c2d7e4a7b485545b48a6020ccca17.zip
u-boot-imx-e6a6a704151c2d7e4a7b485545b48a6020ccca17.tar.gz
u-boot-imx-e6a6a704151c2d7e4a7b485545b48a6020ccca17.tar.bz2
OMAP3: Add support for OMAP3 die ID
Read and store OMAP3 die ID in U-Boot environment. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Diffstat (limited to 'board')
-rw-r--r--board/omap3/beagle/beagle.c2
-rw-r--r--board/omap3/evm/evm.c2
-rw-r--r--board/omap3/overo/overo.c2
-rw-r--r--board/omap3/pandora/pandora.c2
-rw-r--r--board/omap3/zoom1/zoom1.c1
5 files changed, 9 insertions, 0 deletions
diff --git a/board/omap3/beagle/beagle.c b/board/omap3/beagle/beagle.c
index 7377058..8d60651 100644
--- a/board/omap3/beagle/beagle.c
+++ b/board/omap3/beagle/beagle.c
@@ -116,6 +116,8 @@ int misc_init_r(void)
beagle_identify();
+ dieid_num_r();
+
return 0;
}
diff --git a/board/omap3/evm/evm.c b/board/omap3/evm/evm.c
index b406312..3a27c8f 100644
--- a/board/omap3/evm/evm.c
+++ b/board/omap3/evm/evm.c
@@ -68,6 +68,8 @@ int misc_init_r(void)
setup_net_chip();
#endif
+ dieid_num_r();
+
return 0;
}
diff --git a/board/omap3/overo/overo.c b/board/omap3/overo/overo.c
index 48375ad..37bf350 100644
--- a/board/omap3/overo/overo.c
+++ b/board/omap3/overo/overo.c
@@ -60,6 +60,8 @@ int misc_init_r(void)
{
power_init_r();
+ dieid_num_r();
+
return 0;
}
diff --git a/board/omap3/pandora/pandora.c b/board/omap3/pandora/pandora.c
index 3f9de99..dfd51ec 100644
--- a/board/omap3/pandora/pandora.c
+++ b/board/omap3/pandora/pandora.c
@@ -77,6 +77,8 @@ int misc_init_r(void)
writel(GPIO28, &gpio5_base->setdataout);
writel(GPIO4, &gpio6_base->setdataout);
+ dieid_num_r();
+
return 0;
}
diff --git a/board/omap3/zoom1/zoom1.c b/board/omap3/zoom1/zoom1.c
index d67abf7..702f732 100644
--- a/board/omap3/zoom1/zoom1.c
+++ b/board/omap3/zoom1/zoom1.c
@@ -61,6 +61,7 @@ int board_init(void)
int misc_init_r(void)
{
power_init_r();
+ dieid_num_r();
return 0;
}