diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2017-04-26 09:21:48 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-12-24 08:15:18 +0000 |
commit | 409dc3b2c06a96ce7c36e200481d8d692a808cc6 (patch) | |
tree | 543cbe64ced217594627a9ed994d14eac539e8e4 /src | |
parent | 3f4ed7a40b8bfecaf4064356774036d43dd06d42 (diff) |
sb/amd/cimx/sb800/ramtop: Fix coding style issues
Let GNU indent 2.2.11 fix the coding style issue with `indent -linux …`.
Change-Id: Ia2d48906bbeb5ec2f3bea6a93fd2a06aa76b29d9
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://review.coreboot.org/c/19458
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/southbridge/amd/cimx/sb800/ramtop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/amd/cimx/sb800/ramtop.c b/src/southbridge/amd/cimx/sb800/ramtop.c index 3c685767bc..b9fc00df06 100644 --- a/src/southbridge/amd/cimx/sb800/ramtop.c +++ b/src/southbridge/amd/cimx/sb800/ramtop.c @@ -29,7 +29,7 @@ int acpi_get_sleep_type(void) void backup_top_of_low_cacheable(uintptr_t ramtop) { u32 dword = ramtop; - int nvram_pos = 0xf8, i; /* temp */ + int nvram_pos = 0xf8, i; /* temp */ for (i = 0; i < 4; i++) { outb(nvram_pos, BIOSRAM_INDEX); outb((dword >> (8 * i)) & 0xff, BIOSRAM_DATA); @@ -44,7 +44,7 @@ uintptr_t restore_top_of_low_cacheable(void) for (xi = 0; xi < 4; xi++) { outb(xnvram_pos, BIOSRAM_INDEX); xdata &= ~(0xff << (xi * 8)); - xdata |= inb(BIOSRAM_DATA) << (xi *8); + xdata |= inb(BIOSRAM_DATA) << (xi * 8); xnvram_pos++; } return xdata; |