blob: ea62e14e4fcd084769f49f8111ca4d9c01564a82 [file] [log] [blame]
#ifndef __BOARD_ID_H
#define __BOARD_ID_H
#define OPTIMUS_BOARD_ID 0
#define SIDESWIPE_BOARD_ID 1
#define SPACECAST_BOARD_ID 2
#define UNASSIGNED_BOARD_ID 3
#define OPTIMUS_PRIME_BOARD_ID 4
#define SIDESWIPE_PRIME_BOARD_ID 5
#define OPTIMUS_BOARD_ID_OTP (1 << OPTIMUS_BOARD_ID)
#define SIDESWIPE_BOARD_ID_OTP (1 << SIDESWIPE_BOARD_ID)
#define SPACECAST_BOARD_ID_OTP (1 << SPACECAST_BOARD_ID)
#define UNASSIGNED_BOARD_ID_OTP (1 << UNASSIGNED_BOARD_ID)
#define OPTIMUS_PRIME_BOARD_ID_OTP (1 << OPTIMUS_PRIME_BOARD_ID)
#define SIDESWIPE_PRIME_BOARD_ID_OTP (1 << SIDESWIPE_PRIME_BOARD_ID)
int get_board_id(void);
int get_board_id_gpio(void);
#endif /* __BOARD_ID_H */