mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
This currently causes a warning in sandbox and will not do the right
thing:
drivers/core/read.c: In function ‘dev_read_addr_ptr’:
drivers/core/read.c:64:44: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
return (addr == FDT_ADDR_T_NONE) ? NULL : (void *)addr;
Use map_sysmem() which is the correct way to convert an address to a
pointer.
Fixes:
|
||
|---|---|---|
| .. | ||
| device-remove.c | ||
| device.c | ||
| devres.c | ||
| dump.c | ||
| fdtaddr.c | ||
| Kconfig | ||
| lists.c | ||
| Makefile | ||
| of_access.c | ||
| of_addr.c | ||
| of_extra.c | ||
| ofnode.c | ||
| read.c | ||
| read_extra.c | ||
| regmap.c | ||
| root.c | ||
| simple-bus.c | ||
| syscon-uclass.c | ||
| uclass.c | ||
| util.c | ||