On Mon, Mar 14, 2022 at 11:36:54AM -0400, Sean Anderson wrote: > > > On 3/11/22 9:25 PM, Simon Glass wrote: > > On Tue, 22 Feb 2022 at 10:20, Sean Anderson wrote: > >> > >> This adds support for using -Og when building U-Boot. According to the > >> gcc man page: > >> > >> > -Og should be the optimization level of choice for the standard > >> > edit-compile-debug cycle, offering a reasonable level of optimization > >> > while maintaining fast compilation and a good debugging experience. > >> > >> This optimization level is roughly -O1 minus a few additional > >> optimizations. It provides a noticably better debugging experience, with > >> many fewer variables . > >> > >> Signed-off-by: Sean Anderson > >> --- > >> > >> Kconfig | 6 ++++++ > >> Makefile | 4 ++++ > >> 2 files changed, 10 insertions(+) > > > > Reviewed-by: Simon Glass > > > > But how about an update in doc/ ? > > What should be updated? As far as I can tell, optimization level is not > otherwise documented. IMO the Kconfig does a reasonable job of > documentation. A follow-up to note somewhere under doc/ about this would be good. I'll pick up the series for next soon. -- Tom