Searched hist:"13 f3fcac533ae7d86083ed9eefb36f78ee851f10" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/include/dm/ |
| H A D | device.h | 13f3fcac533ae7d86083ed9eefb36f78ee851f10 Wed Nov 30 06:24:47 UTC 2016 Stefan Roese <sr@denx.de> dm: core: Add dev_get_addr_size_index() to retrieve addr and size
The currently available functions accessing the 'reg' property of a device only retrieve the address. Sometimes its also necessary to retrieve the size described by the 'reg' property. This patch adds the new function dev_get_addr_size_index() which retrieves both, the address and the size described by the 'reg' property.
Signed-off-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
|
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | device.c | 13f3fcac533ae7d86083ed9eefb36f78ee851f10 Wed Nov 30 06:24:47 UTC 2016 Stefan Roese <sr@denx.de> dm: core: Add dev_get_addr_size_index() to retrieve addr and size
The currently available functions accessing the 'reg' property of a device only retrieve the address. Sometimes its also necessary to retrieve the size described by the 'reg' property. This patch adds the new function dev_get_addr_size_index() which retrieves both, the address and the size described by the 'reg' property.
Signed-off-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
|