[U-Boot] [PATCH v3] dm: core: Add option to configure an offset for the address translation

Simon Glass sjg at chromium.org
Sat Dec 19 23:23:54 CET 2015


On 14 December 2015 at 08:18, Stefan Roese <sr at denx.de> wrote:
> Some platforms need to ability to configure an offset to the standard
> addresses extracted from the device-tree. This patch allows this by
> adding a function to DM to configure this offset (if needed).
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Acked-by: Simon Glass <sjg at chromium.org>
> Cc: Simon Glass <sjg at chromium.org>
> ---
> v3:
> - Add comment to variable desclaration
> - Remove unnecessary checks for "!root"
>
> v2:
> - Change translation_offset type from u32 to fdt_addr_t
> - Add comments to function declarations
>
>  drivers/core/device.c | 33 +++++++++++++++++++++------------
>  drivers/core/root.c   | 21 +++++++++++++++++++++
>  include/dm/device.h   | 21 +++++++++++++++++++++
>  3 files changed, 63 insertions(+), 12 deletions(-)

Fixed whitespace nit and:

Applied to u-boot-dm/next.


More information about the U-Boot mailing list