1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 12:33:07 +02:00

[xbboot] echo-kernel remove particular head file

This commit is contained in:
Xiangfu Liu 2010-06-09 15:10:58 +08:00
parent ea7b236b9a
commit 3aff93bcf8

View File

@ -7,11 +7,8 @@
// 3 of the License, or (at your option) any later version. // 3 of the License, or (at your option) any later version.
// //
#include <inttypes.h>
#include "../target-common/jz4740.h"
#include "../target-common/serial.h" #include "../target-common/serial.h"
#include "../target-common/common.h"
void c_main();
void pre_main(void) void pre_main(void)
{ {
@ -43,7 +40,7 @@ void pre_main(void)
*((volatile unsigned int *)(addr)) += offset; // add offset to correct all GOT *((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 // 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_puts("Start address is:");
serial_put_hex(start_addr); serial_put_hex(start_addr);
serial_puts("Address offset is:"); serial_puts("Address offset is:");