opal-prd: fix for 64-bit pnor sizes
opal-prd: fix for 64-bit pnor sizes

Current builds of opal-prd are failing with:

  pnor.c: In function ‘pnor_init’:
  pnor.c:48:43: error: passing argument 3 of ‘blocklevel_get_info’ from incompatible pointer type [-Werror=incompatible-pointer-types]
    rc = blocklevel_get_info(pnor->bl, NULL, &(pnor->size), &(pnor->erasesize));
                                             ^
  In file included from ./libflash/libflash.h:21:0,
                   from ./libflash/libffs.h:19,
                   from pnor.c:17:
  ./libflash/blocklevel.h:64:5: note: expected ‘uint64_t * {aka long unsigned int *}’ but argument is of type ‘uint32_t * {aka unsigned int *}’
   int blocklevel_get_info(struct blocklevel_device *bl, const char **name, uint64
       ^

Commit c043065cf changed the type of PNOR sizes to a uint64_t, so we
need to update our pnor code to match.

Signed-off-by: Jeremy Kerr <68a658b44bbaefab3ef5cd231967195fc0ff9d69@ozlabs.org>
Cc: Michael Neuling <7b0ab45a730e48a69239010b5b8fe5fa4e8eaac6@neuling.org>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>

legoater/skiboot,open-power/skiboot,legoater/skiboot,open-power/skiboot,legoater/skiboot,shenki/skiboot,stewart-ibm/skiboot,shenki/skiboot,mikey/skiboot,open-power/skiboot,shenki/skiboot,qemu/skiboot,qemu/skiboot,qemu/skiboot,legoater/skiboot,open-power/skiboot,legoater/skiboot,mikey/skiboot,stewart-ibm/skiboot,qemu/skiboot,shenki/skiboot,stewart-ibm/skiboot,qemu/skiboot,open-power/skiboot,shenki/skiboot,mikey/skiboot