mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 21:33:24 +09:00
![]() Calculating the DMA offset between a bus address space and CPU's every time we call phys_to_bus() and bus_to_phys() isn't ideal performance wise, as it implies traversing the device tree from the device's node up to the root. Since this information is static and available before the device's initialization, parse it before the probe call an provide the DMA offset in 'struct udevice' for the address translation code to use it. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Matthias Brugger <mbrugger@suse.com> |
||
---|---|---|
.. | ||
platform_data | ||
acpi.h | ||
device_compat.h | ||
device-internal.h | ||
device.h | ||
devres.h | ||
fdtaddr.h | ||
lists.h | ||
of_access.h | ||
of_addr.h | ||
of_extra.h | ||
of.h | ||
ofnode.h | ||
pci.h | ||
pinctrl.h | ||
platdata.h | ||
read.h | ||
root.h | ||
simple_bus.h | ||
test.h | ||
uclass-id.h | ||
uclass-internal.h | ||
uclass.h | ||
util.h |