summaryrefslogtreecommitdiff
path: root/board/rbc823
diff options
context:
space:
mode:
Diffstat (limited to 'board/rbc823')
-rw-r--r--board/rbc823/flash.c8
-rw-r--r--board/rbc823/u-boot.lds8
2 files changed, 8 insertions, 8 deletions
diff --git a/board/rbc823/flash.c b/board/rbc823/flash.c
index 84ae5c1..26ebcae 100644
--- a/board/rbc823/flash.c
+++ b/board/rbc823/flash.c
@@ -131,11 +131,11 @@ void flash_print_info (flash_info_t *info)
if (info->size >> 20) {
printf (" Size: %ld MB in %d Sectors\n",
- info->size >> 20,
+ info->size >> 20,
info->sector_count);
} else {
printf (" Size: %ld KB in %d Sectors\n",
- info->size >> 10,
+ info->size >> 10,
info->sector_count);
}
@@ -213,7 +213,7 @@ static ulong flash_get_size (vu_long *addr, flash_info_t *info)
info->flash_id += FLASH_AM040;
info->sector_count = 8;
info->size = 0x00080000;
- break; /* => 512Kb */
+ break; /* => 512Kb */
default:
info->flash_id = FLASH_UNKNOWN;
@@ -448,7 +448,7 @@ static int write_word (flash_info_t *info, ulong dest, ulong data)
/* re-enable interrupts if necessary */
if (flag)
- enable_interrupts();
+ enable_interrupts();
/* data polling for D7 */
start = get_timer (0);
diff --git a/board/rbc823/u-boot.lds b/board/rbc823/u-boot.lds
index 8350eda..e417825 100644
--- a/board/rbc823/u-boot.lds
+++ b/board/rbc823/u-boot.lds
@@ -33,11 +33,11 @@ SECTIONS
.dynsym : { *(.dynsym) }
.dynstr : { *(.dynstr) }
.rel.text : { *(.rel.text) }
- .rela.text : { *(.rela.text) }
+ .rela.text : { *(.rela.text) }
.rel.data : { *(.rel.data) }
- .rela.data : { *(.rela.data) }
- .rel.rodata : { *(.rel.rodata) }
- .rela.rodata : { *(.rela.rodata) }
+ .rela.data : { *(.rela.data) }
+ .rel.rodata : { *(.rel.rodata) }
+ .rela.rodata : { *(.rela.rodata) }
.rel.got : { *(.rel.got) }
.rela.got : { *(.rela.got) }
.rel.ctors : { *(.rel.ctors) }