]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
arm64: zynqmp: Use u32 type instead of uint32_t
authorMichal Simek <michal.simek@xilinx.com>
Mon, 6 Nov 2017 11:55:59 +0000 (12:55 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Nov 2017 15:09:01 +0000 (16:09 +0100)
Warning is reported by checkpatch.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/zynqmp.c

index a036ed6a35d376e9f6ef1fa4277c87ccd02fda08..5e22cc54ba69bba6c1fe908b35b25c059592d6ba 100644 (file)
@@ -27,7 +27,7 @@ DECLARE_GLOBAL_DATA_PTR;
 static xilinx_desc zynqmppl = XILINX_ZYNQMP_DESC;
 
 static const struct {
-       uint32_t id;
+       u32 id;
        char *name;
 } zynqmp_devices[] = {
        {
@@ -136,7 +136,7 @@ int chip_id(unsigned char id)
        !defined(CONFIG_SPL_BUILD)
 static char *zynqmp_get_silicon_idcode_name(void)
 {
-       uint32_t i, id;
+       u32 i, id;
 
        id = chip_id(IDCODE);
        for (i = 0; i < ARRAY_SIZE(zynqmp_devices); i++) {