mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-06 09:21:26 +01:00
ipq6018: update gadget_diag fdt fixup
This change support both legacy and current node configuration Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org> Change-Id: I12551970f16ec09a648bac2ecb1a45edeffd997c
This commit is contained in:
parent
eb6c59f9c7
commit
3abfd5c2d1
1 changed files with 6 additions and 1 deletions
|
|
@ -754,7 +754,12 @@ static void __fixup_usb_device_mode(void *blob)
|
|||
static void fdt_fixup_diag_gadget(void *blob)
|
||||
{
|
||||
__fixup_usb_device_mode(blob);
|
||||
parse_fdt_fixup("/soc/qcom,gadget_diag@0%status%?ok", blob);
|
||||
|
||||
if (fdt_path_offset(blob, "/soc/qcom,gadget_diag@0") < 0){
|
||||
parse_fdt_fixup("/qti,gadget_diag@0%status%?ok", blob);
|
||||
} else {
|
||||
parse_fdt_fixup("/soc/qcom,gadget_diag@0%status%?ok", blob);
|
||||
}
|
||||
}
|
||||
|
||||
void ipq_fdt_fixup_usb_device_mode(void *blob)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue