Commit b7783fa9 authored by Russell King's avatar Russell King

EPXA10DB/Camelot ARM machine updates.

parent 3991853c
......@@ -54,6 +54,10 @@ INITRD_PHYS = 0x00800000
INITRD_VIRT = 0xc0800000
endif
ifeq ($(CONFIG_ARCH_CAMELOT),y)
ZTEXTADDR = 0x00008000
endif
ifeq ($(CONFIG_ARCH_NEXUSPCI),y)
ZTEXTADDR = 0x40008000
endif
......
......@@ -33,6 +33,10 @@ ifeq ($(CONFIG_ARCH_INTEGRATOR),y)
OBJS += head-integrator.o
endif
ifeq ($(CONFIG_ARCH_CAMELOT),y)
OBJS += head-epxa10db.o
endif
ifeq ($(CONFIG_ARCH_FTVPCI),y)
OBJS += head-ftvpci.o
endif
......
#include <asm/mach-types.h>
#include <asm/arch/excalibur.h>
.section ".start", #alloc, #execinstr
mov r7, #MACH_TYPE_CAMELOT
......@@ -18,6 +18,8 @@
unsigned int __machine_arch_type;
#include <linux/kernel.h>
#include <asm/uaccess.h>
#include <asm/arch/uncompress.h>
#include <asm/proc/uncompress.h>
......
This diff is collapsed.
......@@ -29,14 +29,18 @@
static void puts(const char *s)
{
while (*s) {
while ((*UART_TSR(IO_ADDRESS(EXC_UART00_BASE)) & UART_TSR_TX_LEVEL_MSK)==15);
while ((*UART_TSR(EXC_UART00_BASE) &
UART_TSR_TX_LEVEL_MSK)==15)
barrier();
*UART_TD(IO_ADDRESS(EXC_UART00_BASE)) = *s;
*UART_TD(EXC_UART00_BASE) = *s;
if (*s == '\n') {
while ((*UART_TSR(IO_ADDRESS(EXC_UART00_BASE)) & UART_TSR_TX_LEVEL_MSK)==15);
while ((*UART_TSR(EXC_UART00_BASE) &
UART_TSR_TX_LEVEL_MSK)==15)
barrier();
*UART_TD(IO_ADDRESS(EXC_UART00_BASE)) = '\r';
*UART_TD(EXC_UART00_BASE) = '\r';
}
s++;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment