summaryrefslogtreecommitdiffstats
path: root/lib_arm
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-01-12 00:15:14 +0000
committerwdenk <wdenk>2005-01-12 00:15:14 +0000
commit289f932c5ff628bf21a05073243071a01a2d3b02 (patch)
treeadfa2abf61660375c7d3609b100f18f1b30dde90 /lib_arm
parent082acfd4849d2f0471b0709fe7f5ce1de387437d (diff)
downloadblackbird-obmc-uboot-289f932c5ff628bf21a05073243071a01a2d3b02.tar.gz
blackbird-obmc-uboot-289f932c5ff628bf21a05073243071a01a2d3b02.zip
* Some Cleanup.
* Patch by Richard Woodruff, 10 Jan 2005: Update support for OMAP2420 (ARM11) and H4 board: o clean up and add new types to H4 memory probe code. o fix to work with internal boot. o added PRCM config III operation. o fix marginal flash timings. o add revison ATAG usage. o enable voltage scaling at power chip. o fix compile error for i2c. * Fix network problem (error when receiving multiple ARP packets)
Diffstat (limited to 'lib_arm')
-rw-r--r--lib_arm/armlinux.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib_arm/armlinux.c b/lib_arm/armlinux.c
index bf265666c5..5596569e52 100644
--- a/lib_arm/armlinux.c
+++ b/lib_arm/armlinux.c
@@ -377,6 +377,23 @@ static void setup_videolfb_tag (gd_t *gd)
}
#endif /* CONFIG_VFD || CONFIG_LCD */
+#ifdef CONFIG_REVISION_TAG
+void setup_revision_tag(struct tag **in_params)
+{
+ u32 rev = 0;
+#ifdef CONFIG_OMAP2420H4
+ u32 get_board_rev(void);
+
+ rev = get_board_rev();
+#endif
+ params->hdr.tag = ATAG_REVISION;
+ params->hdr.size = tag_size (tag_revision);
+ params->u.revision.rev = rev;
+ params = tag_next (params);
+}
+#endif /* CONFIG_REVISION_TAG */
+
+
static void setup_end_tag (bd_t *bd)
{
params->hdr.tag = ATAG_NONE;
OpenPOWER on IntegriCloud