summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-04-18 23:32:11 +0000
committerwdenk <wdenk>2004-04-18 23:32:11 +0000
commite35745bb64fae64da3e1fa7f4afe3213287f5908 (patch)
tree492a81e51c1102c16ec8ad265fa218586ba523fb /drivers
parent2471111d3511dab6b80e87bd5901be9fafa514db (diff)
downloadbarebox-e35745bb64fae64da3e1fa7f4afe3213287f5908.tar.gz
barebox-e35745bb64fae64da3e1fa7f4afe3213287f5908.tar.xz
* Temporarily disabled John Kerl's extended MII command code because
"miivals.h" is missing * Patches by Mark Jonas, 13 Apr 2004: - Remove CS0 chip select timing setting from cpu/mpc5xxx/start.S - Add sync instructions to IceCube SDRAM init code - Move SDRAM chip constants into seperate include files - Unify DDR and SDR initialization code - Unify all IceCube (Lite5xxx) target names
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial_xuartlite.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/serial_xuartlite.c b/drivers/serial_xuartlite.c
index 3af150d423..fcd1593cb8 100644
--- a/drivers/serial_xuartlite.c
+++ b/drivers/serial_xuartlite.c
@@ -23,6 +23,9 @@
*/
#include <config.h>
+
+#ifdef CONFIG_MICROBLZE
+
#include <asm/serial_xuartlite.h>
/* FIXME: we should convert these to in32 and out32 */
@@ -70,3 +73,5 @@ int serial_tstc(void)
{
return (IO_SERIAL_STATUS & XUL_SR_RX_FIFO_VALID_DATA);
}
+
+#endif /* CONFIG_MICROBLZE */