mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09: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 {
|
enum {
|
||||||
BOARD_MULTICHANNEL,
|
BOARD_HWVERSION = SYSINFO_ID_BOARD_MODEL,
|
||||||
BOARD_VARIANT,
|
BOARD_MULTICHANNEL = SYSINFO_ID_USER,
|
||||||
BOARD_HWVERSION,
|
BOARD_VARIANT
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
BOOL_CALLED_DETECT,
|
BOOL_CALLED_DETECT = SYSINFO_ID_USER,
|
||||||
INT_TEST1,
|
INT_TEST1,
|
||||||
INT_TEST2,
|
INT_TEST2,
|
||||||
STR_VACATIONSPOT,
|
STR_VACATIONSPOT,
|
||||||
|
Loading…
Reference in New Issue
Block a user