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

add-nand-read-prototype.patch

Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
Andy Green 2008-11-28 10:16:36 +00:00 committed by Andy Green
parent 4a8bada671
commit a8baab94b4
3 changed files with 6 additions and 1 deletions

View File

@ -84,6 +84,7 @@ void hexdump(unsigned char *start, int len);
unsigned int _ntohl(unsigned int n);
unsigned long crc32(unsigned long crc, const unsigned char *buf,
unsigned int len);
int nand_read_ll(unsigned char *buf, unsigned long start_addr, int size);
#endif

View File

@ -1,6 +1,5 @@
#include <qi.h>
#include <neo_gta02.h>
#include "nand_read.h"
static const struct board_variant board_variants[] = {
[0] = {

View File

@ -23,6 +23,11 @@
#include <qi.h>
#include <string.h>
int raise(int n)
{
return 0;
}
size_t strlen(const char *s)
{
size_t n = 0;