diff options
author | Christopher N. Hesse <raymanfx@gmail.com> | 2015-01-25 17:38:23 +0100 |
---|---|---|
committer | Ethan Chen <intervigil@gmail.com> | 2015-01-26 10:21:33 -0800 |
commit | 0ed56702465479487fe01b3b69267fd23219954f (patch) | |
tree | 80f0054810e281b88326687271ea5f9fc7fea393 /macloader | |
parent | cbf8e0a2ed2f7d1894aede1873a0f360f0219a17 (diff) | |
download | android_hardware_samsung-0ed56702465479487fe01b3b69267fd23219954f.tar.gz android_hardware_samsung-0ed56702465479487fe01b3b69267fd23219954f.tar.bz2 android_hardware_samsung-0ed56702465479487fe01b3b69267fd23219954f.zip |
macloader: Add SEMCO for BCM43569
Values were read out from a Galaxy Note N910C (Exynos) running stock KK.
Change-Id: I3ce4bd360633642c423482070d18af035f50d8d9
Diffstat (limited to 'macloader')
-rw-r--r-- | macloader/macloader.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/macloader/macloader.cpp b/macloader/macloader.cpp index 918ec07..fc65bf3 100644 --- a/macloader/macloader.cpp +++ b/macloader/macloader.cpp @@ -35,6 +35,7 @@ enum Type { SEMCOSH, SEMCOVE, SEMCO3RD, + SEMCO, WISOL }; @@ -104,6 +105,12 @@ int main() { type = SEMCO3RD; } + /* semco */ + if (strncasecmp(mac_addr_half, "c0:bd:d1", 9) == 0 || + strncasecmp(mac_addr_half, "51:f6:6b", 9) == 0) { + type = SEMCO; + } + /* wisol */ if (strncasecmp(mac_addr_half, "48:5A:3F", 9) == 0) { type = WISOL; @@ -141,6 +148,11 @@ int main() { ALOGI("Writing semco3rd to %s\n", CID_PATH); ret = fputs("semco3rd", cidfile); break; + case SEMCO: + /* write semco to cid file */ + ALOGI("Writing semco to %s\n", CID_PATH); + ret = fputs("semco", cidfile); + break; case WISOL: ALOGI("Writing wisol to %s\n", CID_PATH); ret = fputs("wisol", cidfile); |