mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 12:54:59 +02:00
corrent the blink_led.h file
This commit is contained in:
parent
3840e0b9d0
commit
05afbb65a7
@ -25,4 +25,4 @@
|
|||||||
|
|
||||||
int blink_led();
|
int blink_led();
|
||||||
|
|
||||||
#define /* __BLINK_LED_H */
|
#endif /* __BLINK_LED_H */
|
||||||
|
@ -32,13 +32,13 @@ unsigned char buf[]={
|
|||||||
0x10,0x00,0x00,0x56,0x18,0x00,0x00,0x56,0xff,0xff,0x00,0x00,0x14,0x00,0x00,0x56,
|
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};
|
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)
|
#define ADDR ((volatile unsigned *)&buf)
|
||||||
|
|
||||||
int start_kboot()
|
int start_kboot()
|
||||||
{
|
{
|
||||||
if(nand_read_ll(buf, 0, sizeof(buf))==-1) {
|
if(nand_read_ll(buf, 0x32000000, sizeof(buf))==-1) {
|
||||||
blink_led();
|
blink_led();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user