mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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:
parent
430e136dc1
commit
eed0a7a3e6
2 changed files with 6 additions and 4 deletions
|
@ -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 {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
enum {
|
||||
BOOL_CALLED_DETECT,
|
||||
BOOL_CALLED_DETECT = SYSINFO_ID_USER,
|
||||
INT_TEST1,
|
||||
INT_TEST2,
|
||||
STR_VACATIONSPOT,
|
||||
|
|
Loading…
Reference in a new issue