[U-Boot] [PATCH 11/11] powerpc, 8xx: Add a directory for soon to come boards from CSSI

Heiko Schocher hs at denx.de
Thu Jun 22 03:43:32 UTC 2017


Hello Christophe,

Am 21.06.2017 um 18:47 schrieb Christophe LEROY:
>
>
> Le 21/06/2017 à 17:51, Heiko Schocher a écrit :
>> Hello Christophe,
>>
>> Am 21.06.2017 um 17:22 schrieb Tom Rini:
>>> On Wed, Jun 21, 2017 at 05:09:09PM +0200, Christophe Leroy wrote:
>>>
>>>> CS Systemes d'Information (CSSI) manufactures two boards, named MCR3000
>>>> and CMPC885 which are respectively based on MPC866 and MPC885.
>>>> This patch is the skeleton to allow soon inclusion of support for
>>>> those two boards.
>>>>
>>>> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
>>>> ---
>>>>   The source code for those two boards needs consequent cleanup
>>>> before being suitable for inclusion, however we need to stop
>>>> 8xx deletion hemoragia as soon as possible.
>>>
>>> With what I'm going to send out as a v2 of the rest of the series, I'm
>>> OK with not including an empty directory for now and bringing back
>>> mpc8xx, thanks again!
>>
>> Hmm.. do we really want back the old files?
>
> Yes, I don't like the idea of a big-bang. Lets clean it up step by step, as done for other targets.
>
>>
>> Just a fast look in the patchstatistic:
>>
>>   arch/powerpc/cpu/mpc8xx/spi.c          |  533 ++++++++++++
>>
>> No, spi drivers are in drivers/spi nowadays
>>
>>   arch/powerpc/cpu/mpc8xx/scc.c          |  472 +++++++++++
>>   arch/powerpc/cpu/mpc8xx/fec.c          |  933 +++++++++++++++++++++
>>   arch/powerpc/cpu/mpc8xx/fec.h          |   12 +
>>
>> -> driver/net
>>
>>   arch/powerpc/cpu/mpc8xx/serial.c       |  676 ++++++++++++++++
>>
>> -> drivers/serial
>>
>> Only fast look into:
>> arch/powerpc/cpu/mpc8xx/spi.c
>>
>>          cp->cp_pbpar |=  0x0000000E;    /* set  bits    */
>>
>> No use of ioaccesors, no defines for magic values ...:-(
>>
>> DM support? Cleanup for Kconfig support?
>>
>> One reason of the remove was, that the mpc8xx files wasn;t in a good
>> shape, and nobody volunteered for cleaning it up ...
>
> I do volunteer for cleaning it up .... but definitly not for re-starting from scratch.

Ok, thanks!

>> Are there plans to clean this up ?
>
> I will do it, but I'd like to start from an existing situation, not start from scratch.

Hmm... starting here from scratch is may better here, but thats just
just my opinion ...

>> If no: NACK from me, sorry.
>>
>> Why not posting a patchset, which introduce mpc8xx support only?
>
> We have a basis that is maybe old, but works. For me it is a better starting point.

Understand ... but a simple patch which introduces back the mpc8xx files
only, with some basic changes, like I mentioned would be cleaner.

And don;t forget to add you as mpc8xx maintainer ;-)

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list