dm: core: Add option to configure an offset for the address translation
authorStefan Roese <sr@denx.de>
Mon, 14 Dec 2015 15:18:15 +0000 (16:18 +0100)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Jan 2016 17:19:09 +0000 (10:19 -0700)
commit66eaea6cd152a0dae5964930483f68d92047b2f5
tree725a81c3cb8c4a31acc58ea706e735b8e1171573
parent9b20519887ab39b389cd3e178c11d5bdb19c92e6
dm: core: Add option to configure an offset for the address translation

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@denx.de>
Acked-by: Simon Glass <sjg@chromium.org>
Cc: Simon Glass <sjg@chromium.org>
Fixed space before tab:
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
drivers/core/root.c
include/dm/device.h