Re: [U-Boot] [RFC PATCH 12/12] devres: add debug command to dump devres

2015-07-08 Thread Masahiro Yamada
2015-07-08 13:29 GMT+09:00 Masahiro Yamada : > diff --git a/drivers/core/devres.c b/drivers/core/devres.c > index f24bcac..71f2f67 100644 > --- a/drivers/core/devres.c > +++ b/drivers/core/devres.c > @@ -13,6 +13,7 @@ > #include > #include > #include > +#include > > struct devres { >

[U-Boot] [RFC PATCH 12/12] devres: add debug command to dump devres

2015-07-07 Thread Masahiro Yamada
This new command can dump all device resources associated to each device. The fields in every line shows: - The address of the resource - The size of the resource - The name of the release function - The stage in which the resource has been acquired (BIND/PROBE) The output looks like this