diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-15 22:19:52 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-15 22:27:34 +0200 |
commit | 7c7fa369186536adaf9ff35ec356525b5c5a8379 (patch) | |
tree | bc70e26ffcc48a7d0a0a40e7c33e0cd48bd265fa /utils/imxtools/sbtools/sbtoelf.c | |
parent | 58e27b9fa1e9ea058eb5161f140e0909c4821c92 (diff) | |
download | rockbox-7c7fa369186536adaf9ff35ec356525b5c5a8379.tar.gz rockbox-7c7fa369186536adaf9ff35ec356525b5c5a8379.zip |
sbtools,mkximboot: fix whitespace
Change-Id: I8d8adb783707172d1aaef302366c240310350ed8
Diffstat (limited to 'utils/imxtools/sbtools/sbtoelf.c')
-rw-r--r-- | utils/imxtools/sbtools/sbtoelf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/imxtools/sbtools/sbtoelf.c b/utils/imxtools/sbtools/sbtoelf.c index e68f5e6e06..75dc58e4bd 100644 --- a/utils/imxtools/sbtools/sbtoelf.c +++ b/utils/imxtools/sbtools/sbtoelf.c | |||
@@ -86,10 +86,10 @@ static void extract_elf_section(struct elf_params_t *elf, int count, uint32_t id | |||
86 | sprintf(filename, "%s%s.%d.elf", g_out_prefix, name, count); | 86 | sprintf(filename, "%s%s.%d.elf", g_out_prefix, name, count); |
87 | if(g_debug) | 87 | if(g_debug) |
88 | printf("Write boot section %s to %s\n", name, filename); | 88 | printf("Write boot section %s to %s\n", name, filename); |
89 | 89 | ||
90 | FILE *fd = fopen(filename, "wb"); | 90 | FILE *fd = fopen(filename, "wb"); |
91 | free(filename); | 91 | free(filename); |
92 | 92 | ||
93 | if(fd == NULL) | 93 | if(fd == NULL) |
94 | return; | 94 | return; |
95 | if(g_elf_simplify) | 95 | if(g_elf_simplify) |
@@ -112,7 +112,7 @@ static void extract_sb_section(struct sb_section_t *sec) | |||
112 | if(g_debug) | 112 | if(g_debug) |
113 | printf("Write data section %s to %s\n", sec_name, filename); | 113 | printf("Write data section %s to %s\n", sec_name, filename); |
114 | free(filename); | 114 | free(filename); |
115 | 115 | ||
116 | for(int j = 0; j < sec->nr_insts; j++) | 116 | for(int j = 0; j < sec->nr_insts; j++) |
117 | { | 117 | { |
118 | assert(sec->insts[j].inst == SB_INST_DATA); | 118 | assert(sec->insts[j].inst == SB_INST_DATA); |
@@ -494,7 +494,7 @@ int main(int argc, char **argv) | |||
494 | } | 494 | } |
495 | if(loopback) | 495 | if(loopback) |
496 | sb1_write_file(file, loopback); | 496 | sb1_write_file(file, loopback); |
497 | 497 | ||
498 | sb1_free(file); | 498 | sb1_free(file); |
499 | } | 499 | } |
500 | else | 500 | else |
@@ -504,6 +504,6 @@ int main(int argc, char **argv) | |||
504 | return 1; | 504 | return 1; |
505 | } | 505 | } |
506 | clear_keys(); | 506 | clear_keys(); |
507 | 507 | ||
508 | return 0; | 508 | return 0; |
509 | } | 509 | } |