From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 27 Jul 2015 17:32:22 -0600 Subject: [U-Boot] [PATCH 12/20] dm: Support address translation for simple-bus In-Reply-To: <1436324032-17931-13-git-send-email-sjg@chromium.org> References: <1436324032-17931-1-git-send-email-sjg@chromium.org> <1436324032-17931-13-git-send-email-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 7 July 2015 at 20:53, Simon Glass 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 > --- > > 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.