mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 23:09:21 +02:00
add-nand-read-prototype.patch
Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
parent
4a8bada671
commit
a8baab94b4
@ -84,6 +84,7 @@ void hexdump(unsigned char *start, int len);
|
|||||||
unsigned int _ntohl(unsigned int n);
|
unsigned int _ntohl(unsigned int n);
|
||||||
unsigned long crc32(unsigned long crc, const unsigned char *buf,
|
unsigned long crc32(unsigned long crc, const unsigned char *buf,
|
||||||
unsigned int len);
|
unsigned int len);
|
||||||
|
int nand_read_ll(unsigned char *buf, unsigned long start_addr, int size);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#include <qi.h>
|
#include <qi.h>
|
||||||
#include <neo_gta02.h>
|
#include <neo_gta02.h>
|
||||||
#include "nand_read.h"
|
|
||||||
|
|
||||||
static const struct board_variant board_variants[] = {
|
static const struct board_variant board_variants[] = {
|
||||||
[0] = {
|
[0] = {
|
||||||
|
@ -23,6 +23,11 @@
|
|||||||
#include <qi.h>
|
#include <qi.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
int raise(int n)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
size_t strlen(const char *s)
|
size_t strlen(const char *s)
|
||||||
{
|
{
|
||||||
size_t n = 0;
|
size_t n = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user