From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ziyuan Xu Date: Sat, 23 Jul 2016 11:11:57 +0800 Subject: [U-Boot] [PATCH v2] mmc: display mmc list information like mmc_legacy type In-Reply-To: <57902F3F.6040508@samsung.com> References: <1468938083-6477-1-git-send-email-xzy.xu@rock-chips.com> <57902F3F.6040508@samsung.com> Message-ID: <5792E07D.7060105@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Jaehoon, Thanks for your catch, fix it in v3. On 2016?07?21? 10:11, Jaehoon Chung wrote: > Hi Ziyuan, > > On 07/19/2016 11:21 PM, Ziyuan Xu wrote: >> From: Xu Ziyuan >> >> It's nicer to see this: >> >> => mmc list >> dwmmc at ff0c0000: 0 >> dwmmc at ff0f0000: 1 (eMMC) >> >> than this: >> >> => mmc list >> dwmmc at ff0c0000: 0dwmmc at ff0f0000: 1 (eMMC) >> >> With the latter, it's much clearer which mmc devices are on. > Right? "With latter"? > >> Signed-off-by: Ziyuan Xu >> >> Serise-changes: 2 >> - Update commit from Jaehoon > Could you add the Changelog to the below line? > >> Signed-off-by: Ziyuan Xu >> --- > Locate the Changelog at here. > > Best Regards, > Jaehoon Chung > >> drivers/mmc/mmc-uclass.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c >> index 38ced41..beebc70 100644 >> --- a/drivers/mmc/mmc-uclass.c >> +++ b/drivers/mmc/mmc-uclass.c >> @@ -169,7 +169,7 @@ void print_mmc_devices(char separator) >> >> for (uclass_first_device(UCLASS_MMC, &dev); >> dev; >> - uclass_next_device(&dev)) { >> + uclass_next_device(&dev), first = false) { >> struct mmc *m = mmc_get_mmc_dev(dev); >> >> if (!first) { >> > > >