From e6a6a704151c2d7e4a7b485545b48a6020ccca17 Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Thu, 12 Mar 2009 19:30:50 +0100 Subject: OMAP3: Add support for OMAP3 die ID Read and store OMAP3 die ID in U-Boot environment. Signed-off-by: Dirk Behme --- board/omap3/beagle/beagle.c | 2 ++ board/omap3/evm/evm.c | 2 ++ board/omap3/overo/overo.c | 2 ++ board/omap3/pandora/pandora.c | 2 ++ board/omap3/zoom1/zoom1.c | 1 + 5 files changed, 9 insertions(+) (limited to 'board/omap3') 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; } -- cgit v1.1