mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 01:51:33 +00:00
fix some coding style violations.
This patch fix some coding style violations. Signed-off-by: Ilko Iliev <iliev@ronetix.at>
This commit is contained in:
parent
2077e348c2
commit
03f797793b
1 changed files with 12 additions and 13 deletions
|
@ -184,8 +184,7 @@ void AT91F_DataflashSetEnv (void)
|
||||||
env = area_list[part].setenv;
|
env = area_list[part].setenv;
|
||||||
/* Set the environment according to the label...*/
|
/* Set the environment according to the label...*/
|
||||||
if((env & FLAG_SETENV) == FLAG_SETENV) {
|
if((env & FLAG_SETENV) == FLAG_SETENV) {
|
||||||
start =
|
start = dataflash_info[i].Device.area_list[j].start;
|
||||||
dataflash_info[i].Device.area_list[j].start;
|
|
||||||
sprintf((char*) s,"%lX",start);
|
sprintf((char*) s,"%lX",start);
|
||||||
setenv((char*) area_list[part].label,(char*) s);
|
setenv((char*) area_list[part].label,(char*) s);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue