Skip to contentSkip to conversation

Create arch/Kconfig.nxp

RFC Tom Rini 3 participants 3 messages Jun 15, 2022 – Jun 16, 2022

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

Hey all,

As I migrate assorted CONFIG options over to Kconfig, a common problem I run in to is that between m68k, PowerPC and ARM (both Layerscape and sometimes i.MX) there are options that fit under more than one architecture but also don't have a good place to go. For example, I just ran in to CONFIG_SYS_FSL_NUM_CC_PLLS which started as PowerPC specific, but is used still in Layerscape and more of a SoC detail (but wouldn't make sense in drivers/soc/Kconfig). I was thinking that perhaps arch/Kconfig.nxp would be a good starting place to put these options, but I'm quite open to other suggestions. Thanks!

Signature · 1 line
Tom
#1 lore raw

Tom,

I agree to use Kconfig.nxp. thanks for the work.

Thanks,
Peng.

From: Tom Rini <[email protected]>
Sent: 2022年6月16日 2:00
To: [email protected]; Priyanka Jain <[email protected]>; Peng Fan <[email protected]>; Stefano Babic <[email protected]>
Subject: [RFC] Create arch/Kconfig.nxp

Hey all,

As I migrate assorted CONFIG options over to Kconfig, a common problem I run in to is that between m68k, PowerPC and ARM (both Layerscape and sometimes i.MX) there are options that fit under more than one architecture but also don't have a good place to go. For example, I just ran in to CONFIG_SYS_FSL_NUM_CC_PLLS which started as PowerPC specific, but is used still in Layerscape and more of a SoC detail (but wouldn't make sense in drivers/soc/Kconfig). I was thinking that perhaps arch/Kconfig.nxp would be a good starting place to put these options, but I'm quite open to other suggestions. Thanks!

--
Tom

#2 lore raw
In reply to Tom Rini
Quoted 9 lines · Tom Rini

Hey all,

As I migrate assorted CONFIG options over to Kconfig, a common problem I run in to is that between m68k, PowerPC and ARM (both Layerscape and sometimes i.MX) there are options that fit under more than one architecture but also don't have a good place to go. For example, I just ran in to CONFIG_SYS_FSL_NUM_CC_PLLS which started as PowerPC specific, but is used still in Layerscape and more of a SoC detail (but wouldn't make sense in drivers/soc/Kconfig).

That's right, there is IP in common that can be factorized.

Quoted 3 lines

I was thinking that
perhaps arch/Kconfig.nxp would be a good starting place to put these options, but I'm quite open to other suggestions.

+1

It looks to me a good idea ;-)

Regards,
Stefano

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================