From: Tom Rini Date: Thu, 7 May 2020 09:03:21 -0400 Subject: [PATCH] menu: add support for client defined statusline function In-Reply-To: <20200318183842.12635-1-thiruan@linux.microsoft.com> References: <20200318183842.12635-1-thiruan@linux.microsoft.com> Message-ID: <20200507130321.GV12564@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 Wed, Mar 18, 2020 at 11:38:42AM -0700, Thirupathaiah Annapureddy wrote: > Currently displaying status line is done in a weak function > menu_display_statusline(). > > bootmenu.c overrides the weak default function. > It calls menu_default_choice() and interprets the data as > struct bootmenu_entry. > > pxe boot also uses common menu code for pxe menus. > If there is a system that enables both bootmenu and pxe, > menu_display_statusline() defined in bootmenu.c will be called > and it will interpret struct pxe_label as struct bootmenu_entry. > This leads to data aborts and pxe menu corruptions. > > This patch adds support for client defined statusline function > to resolve the above bug. > > Signed-off-by: Thirupathaiah Annapureddy Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: