[U-Boot] [PATCH v2 17/28] x86: acpi: Use u32 in table write routines

Bin Meng bmeng.cn at gmail.com
Sun May 8 06:26:07 CEST 2016


Hi Simon,

On Sun, May 8, 2016 at 2:46 AM, Simon Glass <sjg at chromium.org> wrote:
> On 7 May 2016 at 08:46, Bin Meng <bmeng.cn at gmail.com> wrote:
>> Use u32 instead of unsigned long in the table write routines, as
>> other routines do.
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>>
>> ---
>>
>> Changes in v2:
>> - Update several more places to use u32 in acpi_table.c
>>
>>  arch/x86/include/asm/acpi_table.h |  4 ++--
>>  arch/x86/lib/acpi_table.c         | 14 +++++++-------
>>  2 files changed, 9 insertions(+), 9 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> I guess this will be 32-bit even if U-Boot is built for 64-bit mode?
>

Yes, as all pointers are below 4G with our current implementation.

Regards,
Bin


More information about the U-Boot mailing list