From 3aff93bcf8f8665d79943d4de5a91b0321556e61 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Wed, 9 Jun 2010 15:10:58 +0800 Subject: [PATCH] [xbboot] echo-kernel remove particular head file --- xbboot/target-echokernel/echo-kernel.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/xbboot/target-echokernel/echo-kernel.c b/xbboot/target-echokernel/echo-kernel.c index b549bf4..121064a 100644 --- a/xbboot/target-echokernel/echo-kernel.c +++ b/xbboot/target-echokernel/echo-kernel.c @@ -7,11 +7,8 @@ // 3 of the License, or (at your option) any later version. // -#include -#include "../target-common/jz4740.h" #include "../target-common/serial.h" - -void c_main(); +#include "../target-common/common.h" void pre_main(void) { @@ -43,7 +40,7 @@ void pre_main(void) *((volatile unsigned int *)(addr)) += offset; // add offset to correct all GOT // fw_args = (struct fw_args *)(start_addr + 0x8); //get the fw args from memory - UART_BASE = 0xB0030000; + UART_BASE = 0xB0030000 + 0x1000; serial_puts("Start address is:"); serial_put_hex(start_addr); serial_puts("Address offset is:");