HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31818
Change subject: util: Include <stdint.h> instead of <inttypes.h> ......................................................................
util: Include <stdint.h> instead of <inttypes.h>
Change-Id: I1bdabcbd27e09091cb8ac4d871b274fc53f86a9c Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M util/cbfstool/ProcessorBind.h M util/cbfstool/cbfs-mkstage.c M util/cbfstool/cbfs_image.c M util/cbfstool/flashmap/fmap.c M util/cbfstool/flashmap/fmap.h M util/cbfstool/flashmap/kv_pair.h M util/cbfstool/flashmap/valstr.c M util/cbfstool/flashmap/valstr.h M util/cbfstool/fmd_scanner.c_shipped M util/cbfstool/fmd_scanner.h_shipped M util/cbfstool/rmodule.c M util/cbmem/cbmem.c M util/intelmetool/intelmetool.c M util/intelmetool/me.h M util/intelmetool/mmap.h M util/intelmetool/msr.h M util/intelmetool/rcba.c M util/inteltool/ahci.c M util/inteltool/gfx.c M util/inteltool/gpio_groups.c M util/inteltool/inteltool.c M util/inteltool/ivy_memory.c M util/inteltool/memory.c M util/inteltool/pcie.c M util/inteltool/pcr.c M util/inteltool/powermgt.c M util/kconfig/zconf.lex.c_shipped M util/nvramtool/lbtable.c M util/sconfig/lex.yy.c_shipped M util/viatool/viatool.c 30 files changed, 31 insertions(+), 31 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/31818/1
diff --git a/util/cbfstool/ProcessorBind.h b/util/cbfstool/ProcessorBind.h index c0f4df0..aaa097a 100644 --- a/util/cbfstool/ProcessorBind.h +++ b/util/cbfstool/ProcessorBind.h @@ -21,7 +21,7 @@ * This to mimic a processor binding for EDK. This is just to provide the * processor types. */ -#include <inttypes.h> +#include <stdint.h>
/// /// Define the processor type so other code can make processor based choices. diff --git a/util/cbfstool/cbfs-mkstage.c b/util/cbfstool/cbfs-mkstage.c index 6071437..1056f05 100644 --- a/util/cbfstool/cbfs-mkstage.c +++ b/util/cbfstool/cbfs-mkstage.c @@ -16,7 +16,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/util/cbfstool/cbfs_image.c b/util/cbfstool/cbfs_image.c index 6ccc4f9..ff5bd3a 100644 --- a/util/cbfstool/cbfs_image.c +++ b/util/cbfstool/cbfs_image.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <libgen.h> #include <stddef.h> #include <stdio.h> diff --git a/util/cbfstool/flashmap/fmap.c b/util/cbfstool/flashmap/fmap.c index f1d2fb9..d7f1703 100644 --- a/util/cbfstool/flashmap/fmap.c +++ b/util/cbfstool/flashmap/fmap.c @@ -44,7 +44,7 @@ #include <sys/stat.h> #include <sys/mman.h> #include <errno.h> -#include <inttypes.h> +#include <stdint.h> #include <limits.h> #include <assert.h>
diff --git a/util/cbfstool/flashmap/fmap.h b/util/cbfstool/flashmap/fmap.h index e360011..485b41d 100644 --- a/util/cbfstool/flashmap/fmap.h +++ b/util/cbfstool/flashmap/fmap.h @@ -36,7 +36,7 @@ #ifndef FLASHMAP_LIB_FMAP_H__ #define FLASHMAP_LIB_FMAP_H__
-#include <inttypes.h> +#include <stdint.h> #include <valstr.h>
#define FMAP_SIGNATURE "__FMAP__" diff --git a/util/cbfstool/flashmap/kv_pair.h b/util/cbfstool/flashmap/kv_pair.h index 1185a08..e4b3cf8 100644 --- a/util/cbfstool/flashmap/kv_pair.h +++ b/util/cbfstool/flashmap/kv_pair.h @@ -37,7 +37,7 @@ #define FLASHMAP_LIB_KV_PAIR_H__
#include <stdio.h> -#include <inttypes.h> +#include <stdint.h> #include <string.h>
/* key=value string pair list */ diff --git a/util/cbfstool/flashmap/valstr.c b/util/cbfstool/flashmap/valstr.c index 4843962..1220177 100644 --- a/util/cbfstool/flashmap/valstr.c +++ b/util/cbfstool/flashmap/valstr.c @@ -29,7 +29,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
-#include <inttypes.h> +#include <stdint.h> #include <string.h> #include <strings.h>
diff --git a/util/cbfstool/flashmap/valstr.h b/util/cbfstool/flashmap/valstr.h index 9b57d58..2fd81a0 100644 --- a/util/cbfstool/flashmap/valstr.h +++ b/util/cbfstool/flashmap/valstr.h @@ -32,7 +32,7 @@ #ifndef FLASHMAP_LIB_VALSTR_H__ #define FLASHMAP_LIB_VALSTR_H__
-#include <inttypes.h> +#include <stdint.h>
/* value + string structure for common conversions */ struct valstr { diff --git a/util/cbfstool/fmd_scanner.c_shipped b/util/cbfstool/fmd_scanner.c_shipped index 71d541d..b137e48 100644 --- a/util/cbfstool/fmd_scanner.c_shipped +++ b/util/cbfstool/fmd_scanner.c_shipped @@ -39,7 +39,7 @@ #define __STDC_LIMIT_MACROS 1 #endif
-#include <inttypes.h> +#include <stdint.h> typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; diff --git a/util/cbfstool/fmd_scanner.h_shipped b/util/cbfstool/fmd_scanner.h_shipped index 2a8b291..70d4375 100644 --- a/util/cbfstool/fmd_scanner.h_shipped +++ b/util/cbfstool/fmd_scanner.h_shipped @@ -42,7 +42,7 @@ #define __STDC_LIMIT_MACROS 1 #endif
-#include <inttypes.h> +#include <stdint.h> typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; diff --git a/util/cbfstool/rmodule.c b/util/cbfstool/rmodule.c index 80e8911..674dbb0 100644 --- a/util/cbfstool/rmodule.c +++ b/util/cbfstool/rmodule.c @@ -12,7 +12,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c index ae1d212..792edf9 100644 --- a/util/cbmem/cbmem.c +++ b/util/cbmem/cbmem.c @@ -14,12 +14,12 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> -#include <inttypes.h> +#include <stdint.h> #include <getopt.h> #include <dirent.h> #include <errno.h> diff --git a/util/intelmetool/intelmetool.c b/util/intelmetool/intelmetool.c index 37cd357..0336544 100644 --- a/util/intelmetool/intelmetool.c +++ b/util/intelmetool/intelmetool.c @@ -13,7 +13,7 @@ */
#include <stdio.h> -#include <inttypes.h> +#include <stdint.h> #include <stdlib.h> #include <getopt.h> #include <unistd.h> diff --git a/util/intelmetool/me.h b/util/intelmetool/me.h index 6a20807..da1152e 100644 --- a/util/intelmetool/me.h +++ b/util/intelmetool/me.h @@ -17,7 +17,7 @@ #ifndef ME_H #define ME_H
-#include <inttypes.h> +#include <stdint.h> #include <pci/pci.h>
#define ME_RETRY 100000 /* 1 second */ diff --git a/util/intelmetool/mmap.h b/util/intelmetool/mmap.h index 31d8313..579a96b 100644 --- a/util/intelmetool/mmap.h +++ b/util/intelmetool/mmap.h @@ -13,7 +13,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h> #include <stdlib.h> #include <fcntl.h> #include <sys/mman.h> diff --git a/util/intelmetool/msr.h b/util/intelmetool/msr.h index 1f6a117..d3aa780 100644 --- a/util/intelmetool/msr.h +++ b/util/intelmetool/msr.h @@ -14,7 +14,7 @@ * GNU General Public License for more details. */
-#include <inttypes.h> +#include <stdint.h>
#ifndef __DARWIN__
diff --git a/util/intelmetool/rcba.c b/util/intelmetool/rcba.c index ebc2d9c..4f169bd 100644 --- a/util/intelmetool/rcba.c +++ b/util/intelmetool/rcba.c @@ -14,7 +14,7 @@ */
#include <stdio.h> -#include <inttypes.h> +#include <stdint.h>
#include "intelmetool.h" #include "mmap.h" diff --git a/util/inteltool/ahci.c b/util/inteltool/ahci.c index 22a5b01..73e4aed 100644 --- a/util/inteltool/ahci.c +++ b/util/inteltool/ahci.c @@ -17,7 +17,7 @@
#include <stdio.h> #include <stdlib.h> -#include <inttypes.h> +#include <stdint.h> #include "inteltool.h"
static const char *ghc_regs[] = { diff --git a/util/inteltool/gfx.c b/util/inteltool/gfx.c index ffcf75c..d2ec010 100644 --- a/util/inteltool/gfx.c +++ b/util/inteltool/gfx.c @@ -16,7 +16,7 @@
#include <stdio.h> #include <stdlib.h> -#include <inttypes.h> +#include <stdint.h> #include "inteltool.h"
#define MMIO_SIZE 0x100000 diff --git a/util/inteltool/gpio_groups.c b/util/inteltool/gpio_groups.c index 69fb87e..9d568e6 100644 --- a/util/inteltool/gpio_groups.c +++ b/util/inteltool/gpio_groups.c @@ -18,7 +18,7 @@ #include <stddef.h> #include <stdint.h> #include <assert.h> -#include <inttypes.h> +#include <stdint.h> #include "inteltool.h" #include "pcr.h"
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c index 2066839..dad8a3e 100644 --- a/util/inteltool/inteltool.c +++ b/util/inteltool/inteltool.c @@ -19,7 +19,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <inttypes.h> +#include <stdint.h> #include <getopt.h> #include <fcntl.h> #include <sys/mman.h> diff --git a/util/inteltool/ivy_memory.c b/util/inteltool/ivy_memory.c index f0e473f..9d1dffe 100644 --- a/util/inteltool/ivy_memory.c +++ b/util/inteltool/ivy_memory.c @@ -14,7 +14,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <inttypes.h> +#include <stdint.h> #include <errno.h> #include "inteltool.h"
diff --git a/util/inteltool/memory.c b/util/inteltool/memory.c index f0c7562..067336a 100644 --- a/util/inteltool/memory.c +++ b/util/inteltool/memory.c @@ -16,7 +16,7 @@
#include <stdio.h> #include <stdlib.h> -#include <inttypes.h> +#include <stdint.h> #include "inteltool.h"
volatile uint8_t *mchbar; diff --git a/util/inteltool/pcie.c b/util/inteltool/pcie.c index 5b35dbd..f95ffc0 100644 --- a/util/inteltool/pcie.c +++ b/util/inteltool/pcie.c @@ -16,7 +16,7 @@
#include <stdio.h> #include <stdlib.h> -#include <inttypes.h> +#include <stdint.h> #include "inteltool.h"
/* 320766 */ diff --git a/util/inteltool/pcr.c b/util/inteltool/pcr.c index 5c97a6c..f16b5a4 100644 --- a/util/inteltool/pcr.c +++ b/util/inteltool/pcr.c @@ -17,7 +17,7 @@ #include <stdlib.h> #include <stdint.h> #include <stdbool.h> -#include <inttypes.h> +#include <stdint.h> #include <assert.h> #include "pcr.h"
diff --git a/util/inteltool/powermgt.c b/util/inteltool/powermgt.c index 3591800..4cee683 100644 --- a/util/inteltool/powermgt.c +++ b/util/inteltool/powermgt.c @@ -17,7 +17,7 @@
#include <stdio.h> #include <stdlib.h> -#include <inttypes.h> +#include <stdint.h> #include <commonlib/helpers.h> #include "inteltool.h"
diff --git a/util/kconfig/zconf.lex.c_shipped b/util/kconfig/zconf.lex.c_shipped index 72e3a5f..a189727 100644 --- a/util/kconfig/zconf.lex.c_shipped +++ b/util/kconfig/zconf.lex.c_shipped @@ -58,7 +58,7 @@ #define __STDC_LIMIT_MACROS 1 #endif
-#include <inttypes.h> +#include <stdint.h> typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; diff --git a/util/nvramtool/lbtable.c b/util/nvramtool/lbtable.c index a9586c8..39192fa 100644 --- a/util/nvramtool/lbtable.c +++ b/util/nvramtool/lbtable.c @@ -26,7 +26,7 @@ *****************************************************************************/
#include <stdint.h> -#include <inttypes.h> +#include <stdint.h> #include <string.h> #ifndef __MINGW32__ #include <sys/mman.h> diff --git a/util/sconfig/lex.yy.c_shipped b/util/sconfig/lex.yy.c_shipped index b3dff41..abdbe16 100644 --- a/util/sconfig/lex.yy.c_shipped +++ b/util/sconfig/lex.yy.c_shipped @@ -37,7 +37,7 @@ #define __STDC_LIMIT_MACROS 1 #endif
-#include <inttypes.h> +#include <stdint.h> typedef int8_t flex_int8_t; typedef uint8_t flex_uint8_t; typedef int16_t flex_int16_t; diff --git a/util/viatool/viatool.c b/util/viatool/viatool.c index 328377a..f5a6273 100644 --- a/util/viatool/viatool.c +++ b/util/viatool/viatool.c @@ -18,7 +18,7 @@
#include <stdio.h> #include <stdlib.h> -#include <inttypes.h> +#include <stdint.h> #include <getopt.h> #include <fcntl.h> #include <sys/mman.h>
HAOUAS Elyes has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/31818 )
Change subject: util: Include <stdint.h> instead of <inttypes.h> ......................................................................
Abandoned
HAOUAS Elyes has restored this change. ( https://review.coreboot.org/c/coreboot/+/31818 )
Change subject: util: Include <stdint.h> instead of <inttypes.h> ......................................................................
Restored
Hello Stefan Reinauer, Philipp Deppenwiese, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/31818
to look at the new patch set (#2).
Change subject: util: Include <stdint.h> instead of <inttypes.h> ......................................................................
util: Include <stdint.h> instead of <inttypes.h>
Change-Id: I1bdabcbd27e09091cb8ac4d871b274fc53f86a9c Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M util/cbfstool/ProcessorBind.h M util/cbfstool/cbfs-mkstage.c M util/cbfstool/cbfs_image.c M util/cbfstool/flashmap/fmap.c M util/cbfstool/flashmap/fmap.h M util/cbfstool/flashmap/kv_pair.h M util/cbfstool/flashmap/valstr.c M util/cbfstool/flashmap/valstr.h M util/cbfstool/fmd_scanner.c_shipped M util/cbfstool/fmd_scanner.h_shipped M util/intelmetool/intelmetool.c M util/intelmetool/me.h M util/intelmetool/mmap.h M util/intelmetool/msr.h M util/intelmetool/rcba.c M util/inteltool/ahci.c M util/inteltool/gfx.c M util/inteltool/gpio_groups.c M util/inteltool/inteltool.c M util/inteltool/ivy_memory.c M util/inteltool/memory.c M util/inteltool/pcie.c M util/inteltool/powermgt.c M util/kconfig/zconf.lex.c_shipped M util/sconfig/lex.yy.c_shipped 25 files changed, 25 insertions(+), 25 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/31818/2
Hello Stefan Reinauer, Philipp Deppenwiese, build bot (Jenkins), Patrick Georgi, Martin Roth,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/31818
to look at the new patch set (#3).
Change subject: util: Include <stdint.h> instead of <inttypes.h> ......................................................................
util: Include <stdint.h> instead of <inttypes.h>
Change-Id: I1bdabcbd27e09091cb8ac4d871b274fc53f86a9c Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M util/cbfstool/ProcessorBind.h M util/cbfstool/cbfs-mkstage.c M util/cbfstool/cbfs_image.c M util/cbfstool/flashmap/fmap.c M util/cbfstool/flashmap/fmap.h M util/cbfstool/flashmap/kv_pair.h M util/cbfstool/flashmap/valstr.c M util/cbfstool/flashmap/valstr.h M util/intelmetool/intelmetool.c M util/intelmetool/me.h M util/intelmetool/mmap.h M util/intelmetool/msr.h M util/intelmetool/rcba.c M util/inteltool/ahci.c M util/inteltool/gfx.c M util/inteltool/gpio_groups.c M util/inteltool/inteltool.c M util/inteltool/ivy_memory.c M util/inteltool/memory.c M util/inteltool/pcie.c M util/inteltool/powermgt.c 21 files changed, 21 insertions(+), 21 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/31818/3
HAOUAS Elyes has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/31818 )
Change subject: util: Include <stdint.h> instead of <inttypes.h> ......................................................................
Abandoned