Skip to content
Commit a1b17e4f authored by Simon Glass's avatar Simon Glass
Browse files

dm: core: Add a function to read into a unsigned int



The current dev_read...() functions use s32 and u32 which are convenient
for device tree but not so useful for normal code, which often wants to
use normal integers for values.

Add a helper which supports returning an unsigned int. Also add signed
versions of the unsigned readers.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent d4901898
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