mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq5018: update bt_debug fixup
This changes disable mdio 1 if bt_debug set. Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org> Change-Id: Ic960edb10ce52a7db0133406de36d502ebc1017f
This commit is contained in:
parent
c1ece2b859
commit
53ea88f717
1 changed files with 3 additions and 1 deletions
|
|
@ -1639,7 +1639,7 @@ void fdt_fixup_bt_debug(void *blob)
|
|||
if ((gd->bd->bi_arch_number == MACH_TYPE_IPQ5018_AP_MP02_1) ||
|
||||
(gd->bd->bi_arch_number == MACH_TYPE_IPQ5018_DB_MP02_1)) {
|
||||
node = fdt_path_offset(blob, "/soc/pinctrl@1000000/btss_pins");
|
||||
if (node) {
|
||||
if (node >= 0) {
|
||||
phandle = fdtdec_get_int(blob, node, "phandle", 0);
|
||||
snprintf(node_name,
|
||||
sizeof(node_name),
|
||||
|
|
@ -1649,6 +1649,8 @@ void fdt_fixup_bt_debug(void *blob)
|
|||
parse_fdt_fixup("/soc/bt@7000000%pinctrl-names%?btss_pins", blob);
|
||||
parse_fdt_fixup(node_name, blob);
|
||||
}
|
||||
parse_fdt_fixup("/soc/mdio@90000/%delete%status", blob);
|
||||
parse_fdt_fixup("/soc/mdio@90000/%status%?disabled", blob);
|
||||
}
|
||||
parse_fdt_fixup("/soc/serial@78b0000/%status%?ok", blob);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue