[U-Boot] [PATCH v2 10/63] x86: Use unsigned long for address in table generation

Bin Meng bmeng.cn at gmail.com
Tue Dec 20 04:34:51 CET 2016


On Sun, Nov 20, 2016 at 4:24 AM, Simon Glass <sjg at chromium.org> wrote:
> We should use unsigned long rather than u32 for addresses. Update this so
> that the table-generation code builds correctly on 64-bit machines.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Move table-related changes from a later patch
> - Rebase to mainline
> - Drop the write_smbios_table_wrapper() function
>
>  arch/x86/cpu/irq.c                |  2 +-
>  arch/x86/include/asm/acpi_table.h |  2 +-
>  arch/x86/include/asm/mpspec.h     |  2 +-
>  arch/x86/include/asm/sfi.h        |  2 +-
>  arch/x86/include/asm/tables.h     |  2 +-
>  arch/x86/lib/acpi_table.c         |  4 ++--
>  arch/x86/lib/mpspec.c             |  2 +-
>  arch/x86/lib/sfi.c                |  6 +++---
>  arch/x86/lib/tables.c             | 11 ++---------
>  arch/x86/lib/zimage.c             |  2 +-
>  drivers/misc/qfw.c                |  4 ++--
>  include/smbios.h                  |  4 ++--
>  lib/smbios.c                      | 22 +++++++++++-----------
>  13 files changed, 29 insertions(+), 36 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list