aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-12-06 19:49:23 +0000
committerwdenk <wdenk>2003-12-06 19:49:23 +0000
commita8c7c708a9e0051c6358718c53572a4681eaa22b (patch)
treeb560561c91725eb2f86289da61ee676787419e37 /board
parentfa1399ed127c8be507bf182dc7d8d61a54938d79 (diff)
* Patch by Gleb Natapov, 19 Sep 2003:
Move most of the timer interrupt related PPC code to ppc_lib/interrupts.c * Patch by Anders Larsen, 17 Sep 2003: Bring ARM memory layout in sync with the documentation: stack and malloc-heap are now located _below_ the U-Boot code
Diffstat (limited to 'board')
-rw-r--r--board/at91rm9200dk/config.mk2
-rw-r--r--board/cogent/lcd.c14
-rw-r--r--board/cradle/config.mk2
-rw-r--r--board/dnp1110/config.mk4
-rw-r--r--board/ep7312/config.mk2
-rw-r--r--board/hymod/hymod.c22
-rw-r--r--board/impa7/config.mk2
-rw-r--r--board/lart/config.mk4
-rw-r--r--board/oxc/oxc.c6
-rw-r--r--board/shannon/config.mk4
-rw-r--r--board/trab/config.mk2
-rw-r--r--board/wepep250/wepep250.c9
12 files changed, 53 insertions, 20 deletions
diff --git a/board/at91rm9200dk/config.mk b/board/at91rm9200dk/config.mk
index 9ce161e55..27cb3b123 100644
--- a/board/at91rm9200dk/config.mk
+++ b/board/at91rm9200dk/config.mk
@@ -1 +1 @@
-TEXT_BASE = 0x21f00000
+TEXT_BASE = 0x21f80000
diff --git a/board/cogent/lcd.c b/board/cogent/lcd.c
index c1b4d116e..814b4c80a 100644
--- a/board/cogent/lcd.c
+++ b/board/cogent/lcd.c
@@ -229,3 +229,17 @@ lcd_heartbeat(void)
if (++rotator_index >= (sizeof rotchars / sizeof rotchars[0]))
rotator_index = 0;
}
+
+#ifdef CONFIG_SHOW_ACTIVITY
+void board_show_activity (ulong timestamp)
+{
+#ifdef CONFIG_STATUS_LED
+ if ((timestamp % (CFG_HZ / 2) == 0)
+ lcd_heartbeat ();
+#endif
+}
+
+void show_activity(int arg)
+{
+}
+#endif
diff --git a/board/cradle/config.mk b/board/cradle/config.mk
index 3ffcfe844..aa4038881 100644
--- a/board/cradle/config.mk
+++ b/board/cradle/config.mk
@@ -1,2 +1,2 @@
-TEXT_BASE = 0xa0f08000
+TEXT_BASE = 0xa0f80000
#TEXT_BASE = 0
diff --git a/board/dnp1110/config.mk b/board/dnp1110/config.mk
index 72ba595f1..4f6af46f8 100644
--- a/board/dnp1110/config.mk
+++ b/board/dnp1110/config.mk
@@ -11,7 +11,7 @@
#
# Linux-Kernel is expected to be at c000'8000, entry c000'8000
#
-# we load ourself to c1f0'0000, the upper 1 MB of the first (only) bank
+# we load ourself to c1f8'0000, the upper 1 MB of the first (only) bank
#
-TEXT_BASE = 0xc1f00000
+TEXT_BASE = 0xc1f80000
diff --git a/board/ep7312/config.mk b/board/ep7312/config.mk
index e1ba0e179..0ae16a2ef 100644
--- a/board/ep7312/config.mk
+++ b/board/ep7312/config.mk
@@ -25,4 +25,4 @@
# MA 02111-1307 USA
#
-TEXT_BASE = 0xc0f00000
+TEXT_BASE = 0xc0f80000
diff --git a/board/hymod/hymod.c b/board/hymod/hymod.c
index 3611a1297..dea0a70a2 100644
--- a/board/hymod/hymod.c
+++ b/board/hymod/hymod.c
@@ -513,3 +513,25 @@ last_stage_init (void)
return (0);
}
+
+#ifdef CONFIG_SHOW_ACTIVITY
+void board_show_activity (ulong timebase)
+{
+#ifdef CFG_HYMOD_DBLEDS
+ volatile immap_t *immr = (immap_t *) CFG_IMMR;
+ volatile iop8260_t *iop = &immr->im_ioport;
+ static int shift = 0;
+
+ if ((timestamp % CFG_HZ) == 0) {
+ if (++shift > 3)
+ shift = 0;
+ iop->iop_pdatd =
+ (iop->iop_pdatd & ~0x0f000000) | (1 << (24 + shift));
+ }
+#endif /* CFG_HYMOD_DBLEDS */
+}
+
+void show_activity(int arg)
+{
+}
+#endif /* CONFIG_SHOW_ACTIVITY */
diff --git a/board/impa7/config.mk b/board/impa7/config.mk
index 69b376c09..417d6a8e2 100644
--- a/board/impa7/config.mk
+++ b/board/impa7/config.mk
@@ -25,4 +25,4 @@
# MA 02111-1307 USA
#
-TEXT_BASE = 0xc1700000
+TEXT_BASE = 0xc1780000
diff --git a/board/lart/config.mk b/board/lart/config.mk
index 8f1a62bba..3033c4fba 100644
--- a/board/lart/config.mk
+++ b/board/lart/config.mk
@@ -14,10 +14,10 @@
#
# Linux-Kernel is expected to be at c000'8000, entry c000'8000
#
-# we load ourself to c170'0000, the upper 1 MB of second bank
+# we load ourself to c178'0000, the upper 1 MB of second bank
#
# download areas is c800'0000
#
-TEXT_BASE = 0xc1700000
+TEXT_BASE = 0xc1780000
diff --git a/board/oxc/oxc.c b/board/oxc/oxc.c
index 5f5e59a3a..0d6fc8536 100644
--- a/board/oxc/oxc.c
+++ b/board/oxc/oxc.c
@@ -156,6 +156,12 @@ void oxc_toggle_activeled(void)
ledtoggle++;
}
+void board_show_activity (ulong timestamp)
+{
+ if ((timestamp % (CFG_HZ / 10)) == 0)
+ oxc_toggle_activeled ();
+}
+
void show_activity(int arg)
{
static unsigned char led = 0;
diff --git a/board/shannon/config.mk b/board/shannon/config.mk
index 736d3af62..ca45733af 100644
--- a/board/shannon/config.mk
+++ b/board/shannon/config.mk
@@ -14,10 +14,10 @@
#
# Linux-Kernel is expected to be at c000'8000, entry c000'8000
#
-# we load ourself to d830'0000, the upper 1 MB of the last (4th) bank
+# we load ourself to d838'0000, the upper 1 MB of the last (4th) bank
#
# download areas is c800'0000
#
-TEXT_BASE = 0xd8300000
+TEXT_BASE = 0xd8380000
diff --git a/board/trab/config.mk b/board/trab/config.mk
index 2cb8edabf..f2411d009 100644
--- a/board/trab/config.mk
+++ b/board/trab/config.mk
@@ -22,5 +22,5 @@
sinclude $(TOPDIR)/board/$(BOARDDIR)/config.tmp
ifndef TEXT_BASE
-TEXT_BASE = 0x0DF00000
+TEXT_BASE = 0x0DF40000
endif
diff --git a/board/wepep250/wepep250.c b/board/wepep250/wepep250.c
index 08b1bfde7..581818316 100644
--- a/board/wepep250/wepep250.c
+++ b/board/wepep250/wepep250.c
@@ -40,15 +40,6 @@ int board_init( void ){
#endif
PSSR = 0x20;
-/*
- * Following code is just bug workaround, remove it if not neccessary
- */
-
- /* cpu/xscale/cpu.c do not set armboot_real_end that is used for
- malloc pool.*/
- if( _armboot_real_end == 0xbadc0de ){
- _armboot_real_end = _armboot_end;
- }
return 0;
}