You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
828 B
47 lines
828 B
3 years ago
|
#ifndef INIT_SEC_H
|
||
|
#define INIT_SEC_H
|
||
|
|
||
|
#include <string.h>
|
||
|
|
||
|
enum device_variant {
|
||
|
VARIANT_A525F = 0,
|
||
3 years ago
|
VARIANT_A525M,
|
||
3 years ago
|
VARIANT_A725F,
|
||
|
VARIANT_A725M,
|
||
3 years ago
|
VARIANT_MAX
|
||
|
};
|
||
|
|
||
|
typedef struct {
|
||
|
std::string model;
|
||
|
std::string codename;
|
||
|
} variant;
|
||
|
|
||
|
static const variant international_models = {
|
||
|
.model = "SM-A525F",
|
||
|
.codename = "a52q"
|
||
|
};
|
||
|
|
||
3 years ago
|
static const variant international_models_a72 = {
|
||
|
.model = "SM-A725F",
|
||
|
.codename = "a72q"
|
||
|
};
|
||
|
|
||
3 years ago
|
static const variant america_models = {
|
||
|
.model = "SM-A525M",
|
||
|
.codename = "a52q"
|
||
|
};
|
||
|
|
||
3 years ago
|
static const variant america_models_a72 = {
|
||
|
.model = "SM-A725M",
|
||
|
.codename = "a72q"
|
||
|
};
|
||
|
|
||
3 years ago
|
static const variant *all_variants[VARIANT_MAX] = {
|
||
3 years ago
|
&international_models,
|
||
3 years ago
|
&international_models_a72,
|
||
|
&america_models,
|
||
|
&america_models_a72
|
||
3 years ago
|
};
|
||
|
|
||
|
#endif // INIT_SEC_H
|