X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2FREADME.menu;h=0f3d7416055d1633dd0f9c2051ce64a26201d3f8;hb=1e374089bdfb4fd41a34204b53474180e0be0125;hp=ad520ab3aad9ccf9f47fa4925301feeb1d83e68f;hpb=c2120fbfbc4d1f6953228f86be8bdbf38bacfdab;p=oweals%2Fu-boot.git diff --git a/doc/README.menu b/doc/README.menu index ad520ab3aa..0f3d741605 100644 --- a/doc/README.menu +++ b/doc/README.menu @@ -1,10 +1,9 @@ +SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2010-2011 Calxeda, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ -U-boot provides a set of interfaces for creating and using simple, text +U-Boot provides a set of interfaces for creating and using simple, text based menus. Menus are displayed as lists of labeled entries on the console, and an entry can be selected by entering its label. @@ -15,7 +14,7 @@ Menus are composed of items. Each item has a key used to identify it in the menu, and an opaque pointer to data controlled by the consumer. If you want to show a menu, instead starting the shell, define -CONFIG_MENU_SHOW. You have to code the int menu_show(int bootdelay) +CONFIG_AUTOBOOT_MENU_SHOW. You have to code the int menu_show(int bootdelay) function, which handle your menu. This function returns the remaining bootdelay.