Re: [PATCH] api: Rework menu, and make it depend on CC_IS_GCC

2023-04-26 Thread Tom Rini
On Thu, Apr 06, 2023 at 09:48:58AM -0400, Tom Rini wrote: > We can only use the old U-Boot API for standalone applications when > building U-Boot with GCC as it relies upon the "gd is a register" trick > that only GCC supports. Further, rework the rest of the options so that > they are in the API

Re: [PATCH] api: Rework menu, and make it depend on CC_IS_GCC

2023-04-06 Thread Simon Glass
On Fri, 7 Apr 2023 at 01:49, Tom Rini wrote: > > We can only use the old U-Boot API for standalone applications when > building U-Boot with GCC as it relies upon the "gd is a register" trick > that only GCC supports. Further, rework the rest of the options so that > they are in the API menu and on

[PATCH] api: Rework menu, and make it depend on CC_IS_GCC

2023-04-06 Thread Tom Rini
We can only use the old U-Boot API for standalone applications when building U-Boot with GCC as it relies upon the "gd is a register" trick that only GCC supports. Further, rework the rest of the options so that they are in the API menu and only visible if API support is enabled. Reported-by: Hein