mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-29 01:25:20 +02:00
add-kboot-h.patch
kboot.h includes the common things and some externs Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
parent
ae53877e7f
commit
072c9da010
@ -20,7 +20,6 @@
|
||||
* MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifndef __SERIAL_H__
|
||||
#define __SERIAL_H__
|
||||
|
14
qiboot/src/kboot.h
Normal file
14
qiboot/src/kboot.h
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
#ifndef __KBOOT_H__
|
||||
#define __KBOOT_H__
|
||||
|
||||
#include <stdarg.h>
|
||||
#include "serial.h"
|
||||
#include "ctype.h"
|
||||
|
||||
int printk(const char *fmt, ...);
|
||||
int vsprintf(char *buf, const char *fmt, va_list args);
|
||||
void puts(const char *string);
|
||||
|
||||
#endif
|
||||
|
@ -20,8 +20,8 @@
|
||||
* MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "serial.h"
|
||||
#include "blink_led.h"
|
||||
#include "kboot.h"
|
||||
|
||||
#define DEBUG_CONSOLE_UART 2
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
*/
|
||||
#include "blink_led.h"
|
||||
#include "nand_read.h"
|
||||
#include "serial.h"
|
||||
#include "kboot.h"
|
||||
/*
|
||||
unsigned char buf[]={
|
||||
0x0d,0xc0,0xa0,0xe1,0x00,0xd8,0x2d,0xe9,0x04,0xb0,0x4c,0xe2,0x4c,0x20,0x9f,0xe5,
|
||||
|
Loading…
Reference in New Issue
Block a user