CHROMIUM: Use DT country configuration over eeprom regulatory info

When country string is available through DT("qcom,ath10k-country-code",
read from vpd) use it to report device regulatory domain rather
than using the one reported from target. Also make sure the DT country
string is converted to upper case before passing it to regulatory code.

BUG=chrome-os-partner:56947
TEST=Build test.

Change-Id: I50d0d0255c166c97ebcba0b6c07cec3c4d261ac9
Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@codeaurora.org>
Reviewed-on: https://chromium-review.googlesource.com/427044
Reviewed-by: Yixiang Li <yixiang@google.com>
Commit-Queue: Yixiang Li <yixiang@google.com>
Tested-by: Yixiang Li <yixiang@google.com>
2 files changed