coreboot-kgpe-d16/src/southbridge/amd
Kevin Paul Herbert 4104e6cd30 x86: Fix pointer arithmetic regressions from MMIO changes
During the development of commit bde6d30 (x86: Change MMIO addr
in readN(addr)/writeN(addr, val) to pointer), there were several iterations
and patterns tried. An intermediate pattern was the use of u32 pointers,
and division by sizeof(u32). Some of these did not get properly
changed to pointer types of length 1, causing a regression in
the Intel Ibex Peak SATA driver, fixed in commit 9b5f137
(Intel ibexpeak: Fix SATA configuration).

Other regressions of this pattern are fixed here. I audited all changes
to u32 types, and the other ones are safe.

Change-Id: I9e73ac8f4329df8bf0cdd1a14759f0280f974052
Signed-off-by: Kevin Paul Herbert <kph@meraki.net>
Reviewed-on: http://review.coreboot.org/8530
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-02-27 18:15:33 +01:00
..
agesa x86: Fix pointer arithmetic regressions from MMIO changes 2015-02-27 18:15:33 +01:00
amd8111 x86: Fix pointer arithmetic regressions from MMIO changes 2015-02-27 18:15:33 +01:00
amd8131 southbridge/amd amd81XX, cs553X & sr5650 spelling fixes 2014-12-17 16:55:44 +01:00
amd8132 southbridge/amd amd81XX, cs553X & sr5650 spelling fixes 2014-12-17 16:55:44 +01:00
amd8151 GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
cimx AMD cimx/sb800: Disconnect PCI bridge 0:14.4 from pins 2015-02-23 21:33:55 +01:00
cs5535 southbridge: Drop print_ implementation from non-romcc boards 2015-01-06 20:15:20 +01:00
cs5536 x86: Change MMIO addr in readN(addr)/writeN(addr, val) to pointer 2015-02-15 08:50:22 +01:00
pi acpi: Generate valid ACPI processor objects 2015-02-16 21:02:30 +01:00
rs690 southbridge/amd rs690 & rs780 spelling fixes 2014-12-17 17:03:08 +01:00
rs780 southbridge/amd rs690 & rs780 spelling fixes 2014-12-17 17:03:08 +01:00
sb600 amd/sb600: Fix NULL test after use issue 2015-02-25 14:05:42 +01:00
sb700 acpi: Generate valid ACPI processor objects 2015-02-16 21:02:30 +01:00
sb800 acpi: Generate valid ACPI processor objects 2015-02-16 21:02:30 +01:00
sr5650 x86: Change MMIO addr in readN(addr)/writeN(addr, val) to pointer 2015-02-15 08:50:22 +01:00
amd_pci_util.c AMD/agesa: Add functions for AMD PCI IRQ routing 2014-07-02 21:47:28 +02:00
amd_pci_util.h AMD/agesa: Add functions for AMD PCI IRQ routing 2014-07-02 21:47:28 +02:00
Kconfig AMD8131: Remove obsolete directory 2015-02-05 02:17:42 +01:00
Makefile.inc southbridge/amd/pi: Update Kconfig and makefiles for bolton 2015-02-05 17:33:42 +01:00