flash.c: In function 'flash_get_size':
flash.c:222: warning: format '%08lx' expects type 'long unsigned int', but
argument 3 has type 'int'
flash.c:238: warning: format '%08lx' expects type 'long unsigned int', but
argument 3 has type 'int'
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Mike Frysinger <vapier@gentoo.org>
 
        value = addr[0];
 
-       debug ("Manuf. ID @ 0x%08lx: 0x%08lx\n", (ulong)addr, value);
+       debug("Manuf. ID @ 0x%08lx: 0x%08x\n", (ulong)addr, value);
 
        switch (value) {
        case (FPW) INTEL_MANUFACT:
 
        value = addr[1];                        /* device ID        */
 
-       debug ("Device ID @ 0x%08lx: 0x%08lx\n", (ulong)(&addr[1]), value);
+       debug("Device ID @ 0x%08lx: 0x%08x\n", (ulong)(&addr[1]), value);
 
        switch (value) {
        case (FPW) INTEL_ID_28F320J3A: