On 08/01/2013 04:24 AM, Graeme Gregory wrote:
Relocate code is no longer needed as mab can generate physcially relocated blobs for us.
Relocate code was also causing problems when tables are passed in from UEFI bootloader as they were already located in memory and adding an aditional offset breaks this.
Signed-off-by: Graeme Gregory graeme.gregory@linaro.org
drivers/acpi/plat/arm/boot.c | 68 ------------------------------------------ 1 file changed, 68 deletions(-)
diff --git a/drivers/acpi/plat/arm/boot.c b/drivers/acpi/plat/arm/boot.c index 82b7bd6..1f29230 100644 --- a/drivers/acpi/plat/arm/boot.c +++ b/drivers/acpi/plat/arm/boot.c @@ -728,67 +728,6 @@ void set_checksum(u8 *start, int len, u8 *cksum) *cksum = (u8)(0 - newsum); }
The rest of the removal looks fine; the snippet above reminded me that we probably want to remove set_checksum() also. AFAIK, it was only used by the relocate code.