public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC] Rearrange CONFIG_* macros
@ 2016-09-27 17:39 york sun
  2016-09-27 17:51 ` Tom Rini
  2016-09-27 17:55 ` Simon Glass
  0 siblings, 2 replies; 13+ messages in thread
From: york sun @ 2016-09-27 17:39 UTC (permalink / raw)
  To: u-boot

Guys,

I want to discuss to rearrange the current CONFIG_* macros used by 
Freescale Layerscape SoCs. We have been encouraged to use CONFIG_SYS_* 
macros to define hardware setting, and other CONFIG_* macros for user 
setting. Clearly this has changed. Kconfig options are used for most 
user settings from now on. I am OK with it. But for existing 
CONFIG_SYS_* macros, we need a plan to either move them out of CONFIG_* 
name space, or move some to Kconfig, if that makes sense. Since most our 
CONFIG_SYS_* macros are cross platforms (including armv7 and armv8), if 
using Kconfig option, do we add another mach-fsl folder to host the 
Kconfig, or somewhere else? We also have macros cross ARM and PowerPC. 
So we either move them out of arch/, or duplicate them for both arch.

If we move them to another name space, for example SYS_FSL_*, do we want 
to move them out of config.h?

Any suggestion/comment?

York

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-10-03 16:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-27 17:39 [U-Boot] [RFC] Rearrange CONFIG_* macros york sun
2016-09-27 17:51 ` Tom Rini
2016-09-27 18:24   ` york sun
2016-09-27 18:40     ` Tom Rini
2016-09-27 17:55 ` Simon Glass
2016-09-27 18:26   ` york sun
2016-09-28 18:57   ` york sun
2016-09-28 19:17     ` Simon Glass
2016-09-29 15:47       ` york sun
2016-09-30  3:59         ` Masahiro Yamada
2016-09-30  4:20           ` york sun
2016-10-01  2:24             ` Tom Rini
2016-10-03 16:35               ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox