summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <[email protected]>2021-01-12 13:55:24 +0100
committerMatthias Brugger <[email protected]>2021-02-18 11:56:25 +0100
commit4abf68d57d495674e521b693191be1dcada46ecd (patch)
tree6471b542fbfc4730c539778640611cb5c96c2b15 /scripts/checkstack.pl
parent283628c412a2b98bdb22093a732aef4d5668e106 (diff)
dm: Introduce DMA constraints into the core device model
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]> Tested-by: Peter Robinson <[email protected]> Signed-off-by: Matthias Brugger <[email protected]>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions