On Fri, Mar 24, 2023 at 04:59:56AM +0900, Masahiro YAMADA wrote: > On Wed, Mar 22, 2023 at 11:09 PM Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote: > > > > So far we can enable support for 32bit and 64bit SoCs at the same time > > which results in an unbuildable barebox. This is annoying, let the board > > visibility depend on the selected code model. > > > > Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> > > > What is weird in the current approach is, > none of "make ARCH=arm64 allnoconfig" > "make ARCH=arm64 allyesconfig" sets CONFIG_64BIT. > > > > > I think CONFIG_64BIT should be the highest level option, > which is not selected by anyone, and does not depend on > any other CONFIG option. Yes, I've also already realized there's something fishy with the way 32bit vs. 64bit is handled in our Kconfig options, I just didn't know what to do about it. Making CONFIG_64BIT the highest level option really seems to solve it well. I'll send a patch for it shortly. Thanks for noting and motivating ;) Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |