commit | 97ddd339e76da905f9d80508d2329af27c309a18 | [log] [tgz] |
---|---|---|
author | Bin Meng <bin.meng@windriver.com> | Sun Jan 31 20:36:03 2021 +0800 |
committer | Simon Glass <sjg@chromium.org> | Wed Feb 03 03:38:41 2021 -0700 |
tree | 97a07b537783110b9384aac7571ff0af7cf7e854 | |
parent | ff7607c1048953f5fe2720170bfb848477fabb82 [diff] |
fdtdec: Cast prior_stage_fdt_address with uintptr_t At present prior_stage_fdt_address is declared as phys_addr_t. On a 32-bit platform where phys_addr_t can be 64-bit, assigning its value to gd->fdt_blob which is a pointer, can cause warnings. Cast it to uintptr_t before the assignment. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Simon Glass <sjg@chromium.org>