Provide option to avoid defining a custom version of uintptr_t.
authorGabe Black <gabeblack@chromium.org>
Wed, 15 Oct 2014 10:38:30 +0000 (04:38 -0600)
committerTom Rini <trini@ti.com>
Mon, 27 Oct 2014 15:04:01 +0000 (11:04 -0400)
commit0d296cc2d3b8e2ffa46b4a93d1398fa6bf85b504
tree25c0cadf3c5056cbe0c72ab19c932293428b5615
parent4bf3a56f2b2c7c7bbf3825484d361d564a270783
Provide option to avoid defining a custom version of uintptr_t.

There's a definition in stdint.h (provided by gcc) which will be more correct
if available.

Define CONFIG_USE_STDINT to use this feature, or USE_STDINT=1 on the 'make'
commmand.

This adjusts the settings for x86 and sandbox, with both have 64-bit options.

Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@google.com>
Rewritten to be an option, since stdint.h is often available only in glibc.
Changed to preserve a clear boundary between stdint and non-stdint
Signed-off-by: Simon Glass <sjg@chromium.org>
README
arch/sandbox/include/asm/types.h
arch/x86/include/asm/types.h
config.mk
include/compiler.h
include/linux/types.h