sysinfo: Use global sysinfo IDs for existing sysinfo drivers

Since 07c9e683a4 ("smbios: Allow a few values to come from sysinfo")
there are common global sysinfo IDs. This patch moved existing IDs above
SYSINFO_ID_USER.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Sean Anderson 2021-04-20 10:50:55 -04:00 committed by Tom Rini
parent 430e136dc1
commit eed0a7a3e6
2 changed files with 6 additions and 4 deletions

View File

@ -5,10 +5,12 @@
*
*/
#include <sysinfo.h>
enum {
BOARD_MULTICHANNEL,
BOARD_VARIANT,
BOARD_HWVERSION,
BOARD_HWVERSION = SYSINFO_ID_BOARD_MODEL,
BOARD_MULTICHANNEL = SYSINFO_ID_USER,
BOARD_VARIANT
};
enum {

View File

@ -5,7 +5,7 @@
*/
enum {
BOOL_CALLED_DETECT,
BOOL_CALLED_DETECT = SYSINFO_ID_USER,
INT_TEST1,
INT_TEST2,
STR_VACATIONSPOT,