1 /* SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2018 Marvell International Ltd.
5 * https://spdx.org/licenses
17 #define otx_is_altpkg() read_alt_pkg()
18 #define otx_is_soc(soc) (read_partnum() == (soc))
19 #define otx_is_board(model) (!strcmp(read_board_name(), model))
20 #define otx_is_platform(platform) (read_platform() == (platform))
24 PLATFORM_EMULATOR = 1,
28 int read_platform(void);
29 u8 read_partnum(void);
30 const char *read_board_name(void);
31 bool read_alt_pkg(void);