Skip to content
Commit 336a4487 authored by Simon Glass's avatar Simon Glass Committed by Jaehoon Chung
Browse files

fdt: Correct fdt_get_base_address()



This function appears to obtain the value of the 'ranges' property rather
than 'reg'. As such it does not behave as documented or expected.

In addition it picks up the second field of the property which is the size
(with prop += naddr) rather than the first which is the address.

Fix it.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent c4d660d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment