On 7 June 2017 at 10:46, Philipp Tomsich <[email protected]> wrote: > With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This covers the Gigabit Ethernet MAC (i.e. common designware driver and > rockchip-specific wrapper). > > Signed-off-by: Philipp Tomsich <[email protected]> > --- > > drivers/net/designware.c | 7 +++---- > drivers/net/gmac_rockchip.c | 10 ++++------ > 2 files changed, 7 insertions(+), 10 deletions(-)
Reviewed-by: Simon Glass <[email protected]> This is fine, but if we want to we could add a dev_read_u32() function: int dev_read_u32(struct udevice *dev, const char *propname, u32 *resultp) which returns an error code. _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

