coreboot/src
Jacob Garber c22ebc9339 sb/amd/sb{700,800}: Clean up index manipulations
It looks like in days gone by that these switches were once parts of
loops that incremented 'index' as they went along. However, we don't
have any loops anymore, so remove the needless increments and streamline
the rest of the assignments.

Change-Id: Iaabee984333c273af7810f9c11ed26bbb2a995d1
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: scan-build 8.0.0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33774
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
2019-06-28 19:36:11 +00:00
..
acpi
arch arch/riscv/mcall: Drop debug code 2019-06-28 07:35:56 +00:00
commonlib commonlib/storage: use ALIGN_UP instead of ALIGN for better readability 2019-06-21 12:49:43 +00:00
console add ctype.h header 2019-06-24 21:15:14 +00:00
cpu cpu/amd/family_10h-family_15h: Remove dead assignment 2019-06-28 19:23:21 +00:00
device device: Tidy up add_more_links() 2019-06-28 19:32:18 +00:00
drivers drivers/pc80/tpm: add support for TPM emulator SwTPM 2.0 module 2019-06-27 10:04:17 +00:00
ec src/ec: Use 'include <stdlib.h>' when appropriate 2019-06-22 17:54:31 +00:00
include device: Tidy up add_more_links() 2019-06-28 19:32:18 +00:00
lib lib/gnat: Enable -Werror 2019-06-28 08:42:16 +00:00
mainboard asus/am1i-a: Enable UART according to CONFIG_UART_FOR_CONSOLE 2019-06-28 18:01:51 +00:00
northbridge device,nb/amd: Deduplicate add_more_links() 2019-06-28 19:30:09 +00:00
security security: Add memory subfolder 2019-06-27 10:02:04 +00:00
soc {soc,northbridge}/Kconfig: Remove unused CACHE_MRC_SIZE_KB 2019-06-28 19:20:09 +00:00
southbridge sb/amd/sb{700,800}: Clean up index manipulations 2019-06-28 19:36:11 +00:00
superio nuvoton/early_serial: improve comments on serial pinmux settings 2019-06-22 11:39:12 +00:00
vendorcode add ctype.h header 2019-06-24 21:15:14 +00:00
Kconfig arch/x86/Kconfig: Hide the prefix option on all but BOOTBLOCK_NORMAL 2019-06-15 17:24:44 +00:00