From mboxrd@z Thu Jan 1 00:00:00 1970 From: Przemyslaw Marczak Date: Wed, 08 Apr 2015 17:47:59 +0200 Subject: [U-Boot] [PATCH V2 1/3] dm: core: add internal functions for getting the device without probe In-Reply-To: References: <1428498114-7015-1-git-send-email-p.marczak@samsung.com> <1428507149-19232-1-git-send-email-p.marczak@samsung.com> <1428507149-19232-2-git-send-email-p.marczak@samsung.com> Message-ID: <55254DAF.3000403@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Simon, On 04/08/2015 05:39 PM, Simon Glass wrote: > Hi Przemyslaw, > > On 8 April 2015 at 09:32, Przemyslaw Marczak wrote: >> This commit extends the uclass-internal functions by: >> - uclass_find_first_device() >> - uclass_find_next_device() >> For both functions, the returned device is not probed. >> >> After some cleanup, the above functions are called by: >> - uclass_first_device() >> - uclass_next_device() >> for which, the returned device is probed. >> >> Signed-off-by: Przemyslaw Marczak >> Cc: Simon Glass >> --- >> Changes V2: >> - new commit >> --- >> drivers/core/uclass.c | 59 +++++++++++++++++++++++++------------------- >> include/dm/uclass-internal.h | 22 +++++++++++++++++ >> 2 files changed, 56 insertions(+), 25 deletions(-) >> > > Looks good, can you add a test? > > Regards, > Simon > Ok, will add some simply test. Best regards, -- Przemyslaw Marczak Samsung R&D Institute Poland Samsung Electronics p.marczak at samsung.com