From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 10 Feb 2021 13:26:15 +0100 Subject: [PATCH] efidebug: Introduce bootmgr command In-Reply-To: References: <20210210105425.356131-1-ilias.apalodimas@linaro.org> <75527.1612956227@gemini.denx.de> Message-ID: <79242.1612959975@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Ilias, In message you wrote: > > The efidebug for boot options wasn't introduced that long ago and I don't > think anyone uses it in production. If someone would want to have it backwards > compatible, please shout and we'll see what we can do, but I'd strongly prefer > replacing it overall. If we truly want backwards compatibility though we must keep > efidebug, changing the name to something like 'efi debug' just for the name > similarity wouldn't help much as it would break things regardless. In this case, "debug" would just be a sub-command of the "efi" command, with more sub-commands under efi (like bootmgr or such) following, same as we did for example with "env" (where many commands maintain backward compatibility, but here this was necessary because these have been in use forever): env print -> printenv env save -> saveenv env set -> setenv etc. Maybe a similar approach makes sense for "efi" (with or without backward compatibility, as you like - after all, this is just a little name space pollution ;-) : efi: efi debug efi bootmgr efi ... Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If you believe that feeling bad or worrying long enough will change a past or future event, then you are residing on another planet with a different reality system.