[U-Boot] [PATCH 12/20] dm: Support address translation for simple-bus

Simon Glass sjg at chromium.org
Tue Jul 28 01:32:22 CEST 2015


On 7 July 2015 at 20:53, Simon Glass <sjg at chromium.org> wrote:
> The 'ranges' property can be used to specify a translation from the system
> address to the bus address. Add support for this using the dev_get_addr()
> function, which devices should use to find their address.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/core/device.c        | 17 +++++++++++------
>  drivers/core/simple-bus.c    | 30 ++++++++++++++++++++++++++++++
>  include/dm/device-internal.h | 12 ++++++++++++
>  3 files changed, 53 insertions(+), 6 deletions(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list