summaryrefslogtreecommitdiff
path: root/payloads/coreinfo
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-05-14 04:13:16 +1000
committerPatrick Georgi <patrick@georgi-clan.de>2014-05-23 09:50:21 +0200
commit26c74fbd4f23223cb461dba9e35f5921fbc08534 (patch)
treed6d9f486d1501b22b8287506029a1a211eb37f8a /payloads/coreinfo
parentaab0cce88891197510740ac5a663e003b7f99981 (diff)
downloadcoreboot-26c74fbd4f23223cb461dba9e35f5921fbc08534.tar.xz
payloads/coreinfo/multiboot_module.c: Trivial fix indents
Stylistic fix-up's. Change-Id: I0cad7c860280d0d8dcb16d052846c72f690e2b65 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5731 Tested-by: build bot (Jenkins) Reviewed-by: Idwer Vollering <vidwer@gmail.com>
Diffstat (limited to 'payloads/coreinfo')
-rw-r--r--payloads/coreinfo/multiboot_module.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/payloads/coreinfo/multiboot_module.c b/payloads/coreinfo/multiboot_module.c
index 4cb426b4e2..fdf5434482 100644
--- a/payloads/coreinfo/multiboot_module.c
+++ b/payloads/coreinfo/multiboot_module.c
@@ -68,14 +68,14 @@ int multiboot_module_redraw(WINDOW *win)
static void parse_memory(struct multiboot_header *table)
{
- u8 *start = (u8 *) phys_to_virt(table->mmap_addr);
- u8 *ptr = start;
+ u8 *start = (u8 *) phys_to_virt(table->mmap_addr);
+ u8 *ptr = start;
int i = 0;
cb_info.mem_count = 0;
- while(ptr < (start + table->mmap_length)) {
- struct multiboot_mmap *mmap = (struct multiboot_mmap *) ptr;
+ while(ptr < (start + table->mmap_length)) {
+ struct multiboot_mmap *mmap = (struct multiboot_mmap *) ptr;
cb_info.range[i].start = mmap->addr;
cb_info.range[i].size = mmap->length;
@@ -84,9 +84,9 @@ static void parse_memory(struct multiboot_header *table)
if (++cb_info.mem_count == MAX_MEMORY_COUNT)
return;
- ptr += (mmap->size + sizeof(mmap->size));
+ ptr += (mmap->size + sizeof(mmap->size));
i++;
- }
+ }
}
static void parse_header(unsigned long addr)
@@ -118,4 +118,4 @@ struct coreinfo_module multiboot_module = {
struct coreinfo_module multiboot_module = {
};
-#endif
+#endif /* CONFIG_MODULE_MULTIBOOT */