From: Tom Rini Date: Fri, 28 Feb 2020 10:23:09 -0500 Subject: [PATCH v3][ 4/6] board: tbs2910: enable CONFIG_DISTRO_DEFAULTS In-Reply-To: <20200227014823.5866843d@primarylaptop.localdomain> References: <20200208053839.7101-1-GNUtoo@cyberdimension.org> <20200208053839.7101-4-GNUtoo@cyberdimension.org> <20200210144050.GL13379@bill-the-cat> <20200227014823.5866843d@primarylaptop.localdomain> Message-ID: <20200228152309.GH18302@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Feb 27, 2020 at 01:48:23AM +0100, Denis 'GNUtoo' Carikli wrote: > On Mon, 10 Feb 2020 09:40:50 -0500 > Tom Rini wrote: > > That said, the "bring in PXE" part of DISTRO_DEFAULTS predates sysboot > > being pulled out of the PXE code, where it was historically > > introduced. I would like to see a patch to change this part, > > stand-alone and CC'ing the distribution folks that might have > > something to say about this. I know there are use-cases for it, but > > I don't know how critical they are to be everywhere by default vs > > opt-in. Thanks all! > I've done the patch, but I've not sent it yet. > > With it, if board are using things like func(PXE, pxe, na) in > BOOT_TARGET_DEVICES, it will breaks the compilation, and we would have > an error that looks like that: > > In file included from include/configs/tbs2910.h:19, > > from include/config.h:5, > > from include/common.h:16, > > from env/common.c:10: > > include/config_distro_bootcmd.h:398:2: error: expected '}' before > > 'BOOT_TARGET_DEVICES_references_PXE_without_CONFIG_CMD_DHCP_or_PXE' > > 398 | > > BOOT_TARGET_DEVICES_references_PXE_without_CONFIG_CMD_DHCP_or_PXE > > Should I still send the patch as-is by mentioning that issue somehow, > in order to start a discussion on the topic? Sounds like some of the logic needs updating. If a board is saying func(PXE,...) then it should be enabling CMD_PXE. So yes, I'd like to see things get a bit farther if you can, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: