[U-Boot] [PATCH 2/2] spi: kirkwood: Full dm conversion

Stefan Roese sr at denx.de
Fri Apr 27 08:16:31 UTC 2018


Hi Chris,

On 27.04.2018 10:12, Chris Packham wrote:
> On Fri, Apr 27, 2018 at 5:44 PM Stefan Roese <sr at denx.de> wrote:
>>> Stefan, did you want me to send a patch for db88f6820-gp at the same
>>> time since the amc board is derived from it?
> 
>> Sure, that would be helpful.
> 
>> But I'm a little bit puzzled about this DM conversion for MVEBU
>> platforms. As all MVEBU targets are already using DM and DM_SPI:
> 
>> arch/arm/Kconfig:
> 
>> ...
>> config ARCH_MVEBU
>>            bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
>>            select OF_CONTROL
>>            select OF_SEPARATE
>>            select DM
>>            select DM_ETH
>>            select DM_SERIAL
>>            select DM_SPI
>>            select DM_SPI_FLASH
> 
>> So there should be no need to change something here. Or is something
>> not working correctly on some of the MVEBU platforms?
> 
>> What really is missing is the conversion of the older Marvell
>> platforms, like Kirkwood and Orion. Those are quite ancient and
>> have no DM / OF / DT support at all (AFAIR). So here is the real
>> work that needs to be done. Or all those boards might get dropped
>> soon.
> 
> Yeah sure enough
> 
> => dm tree
>    Class      Probed  Driver      Name
> ----------------------------------------
>    root       [ + ]   root_drive  root_driver
>    simple_bus [ + ]   generic_si  `-- soc
>    simple_bus [ + ]   generic_si      `-- internal-regs
>    spi        [ + ]   mvebu_spi           |-- spi at 10680
>    spi_flash  [   ]   spi_flash_          |   `-- spi-flash at 0
>    i2c        [   ]   i2c_mvtwsi          |-- i2c at 11000
>    serial     [ + ]   ns16550_se          |-- serial at 12000
>    eth        [ + ]   mvneta              |-- ethernet at 34000
>    usb        [   ]   ehci_mvebu          |-- usb at 58000
>    eth        [ + ]   mvneta              `-- ethernet at 70000
> 
> So nothing to do for MVEBU.

Yep, thats what I thought.

> I do have a passing interest in keeping kirkwood support but lack an
> upstream supported platform to use. I'll have to see if I can update one of
> our boards to use and upstream bootloader.

Yes, that would be good. As I fear, that Kirkwood might get dropped
completely, if nobody reacts here and updates this platform to DM,
DT etc.

Thanks,
Stefan



More information about the U-Boot mailing list