1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 10:22:48 +02:00

corrent the blink_led.h file

This commit is contained in:
xiangfu 2008-07-13 11:05:36 -04:00
parent 3840e0b9d0
commit 05afbb65a7
2 changed files with 3 additions and 3 deletions

View File

@ -25,4 +25,4 @@
int blink_led();
#define /* __BLINK_LED_H */
#endif /* __BLINK_LED_H */

View File

@ -32,13 +32,13 @@ unsigned char buf[]={
0x10,0x00,0x00,0x56,0x18,0x00,0x00,0x56,0xff,0xff,0x00,0x00,0x14,0x00,0x00,0x56,
0x01,0x00,0x50,0xe2,0xfd,0xff,0xff,0x1a,0x0e,0xf0,0xa0,0xe1,0x0a};
*/
unsigned char buf[124];
unsigned char buf[2048];
#define ADDR ((volatile unsigned *)&buf)
int start_kboot()
{
if(nand_read_ll(buf, 0, sizeof(buf))==-1) {
if(nand_read_ll(buf, 0x32000000, sizeof(buf))==-1) {
blink_led();
}