mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-23 20:24:26 +08: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
@ -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 New Issue
Block a user