diff options
author | Maximilian Brune <maximilian.brune@9elements.com> | 2024-07-13 23:53:48 +0200 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2024-07-26 11:06:29 +0000 |
commit | 7dae497495a822fb1bb5d8c4a73eff78494d80b3 (patch) | |
tree | a5c9515a93cf575cc998273ea7172d8d705d279d /src/soc/amd/mendocino/i2c.c | |
parent | 2c9a12b588faba7504eac2cbcc4f533317e2dd2c (diff) |
commonlib/device_tree.c: Add read reg property helper
Add a helper function to read the reg property from an unflattened
device tree.
It also factors out the common code into a new function called
`read_reg_prop`.
Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I7846eb8af390d709b0757262025cb819e9988699
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83457
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/amd/mendocino/i2c.c')
0 files changed, 0 insertions, 0 deletions