projects
/
my-code
/
arm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some more pffs code (structures become identifiable ;)
[my-code/arm.git]
/
betty
/
fwbc.c
diff --git
a/betty/fwbc.c
b/betty/fwbc.c
index
a617d24
..
1874819
100644
(file)
--- a/
betty/fwbc.c
+++ b/
betty/fwbc.c
@@
-57,8
+57,8
@@
int main(void) {
/* variables */
/* variables */
- u16 *mem;
- u32 *bl;
+ u16 *mem
=0
;
+ u32 *bl
=0
;
u32 i,len;
u8 start;
u32 i,len;
u8 start;
@@
-82,6
+82,8
@@
int main(void) {
BCFG0=0x1000FBEF; // no boot[1:0] influence? (thnx colibri)
// BCFG2 should be fine as is
BCFG0=0x1000FBEF; // no boot[1:0] influence? (thnx colibri)
// BCFG2 should be fine as is
+ while(1) {
+
/* wait for fwdump to send transmit start character */
start=0x23;
while(1) {
/* wait for fwdump to send transmit start character */
start=0x23;
while(1) {
@@
-136,6
+138,8
@@
int main(void) {
}
}
}
}
+ }
+
return 0;
}
return 0;
}