[U-Boot] [PATCH] dm: core: Add Kconfig for simple bus driver

Marek Vasut marex at denx.de
Sat Aug 22 17:50:26 CEST 2015


On Saturday, August 22, 2015 at 03:40:26 PM, Simon Glass wrote:

Hi!

[...]

> >> One way or another we'll figure this out sooner rather than later.
> > 
> > I know :)
> 
> Masahiro's series landed so I have applied this to u-boot-dm.
> 
> Please check that it works as you expect.

I think we're having a minor duplicity here now. Check the 
drivers/core/Makefile, there's this bit already:

 obj-$(CONFIG_$(SPL_)OF_CONTROL) += simple-bus.o

And since I have both CONFIG_OF_CONTROL and CONFIG_SPL_OF_CONTROL, I
get the simple bus driver as well.

But I don't think that the current state is entirely correct. I propose
the remove the above obj-$(CONFIG_$(SPL_)OF_CONTROL) += simple-bus.o from
the Makefile to fix the duplicity and achieve the behavior you wanted to
have. What do you think please ? I can send a quick patch.

Best regards,
Marek Vasut


More information about the U-Boot mailing list