commit | 336a44877af84fc65e58a0759d9dc199e8c97036 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jul 04 13:31:20 2017 -0600 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Tue Aug 01 11:58:00 2017 +0900 |
tree | 71816afa953a4aff86ba66589e19cad6ce284ca7 | |
parent | c4d660d4d0abcde0fdbcee8401b215fc2b56d7aa [diff] |
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: Simon Glass <sjg@chromium.org>