Skip to contentSkip to conversation

board: lx2160a: Correct board fixup for PCIe nodes

PATCH New Vikas Singh 2 participants 2 messages Feb 12, 2020 – Mar 30, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 board: lx2160a: Correct board fixup for PCIe nodes

Update "board_fix_fdt" with correct counter value "i". This will fix the issue while fetching the "reg_names" resource from fdt after fixup.

---

Notes:
V2

Add correct subject and remove the '.' from it

 board/freescale/lx2160a/lx2160a.c | 1 +
 1 file changed, 1 insertion(+)
board/freescale/lx2160a/lx2160a.c +1 -0
index 4509a34..5c23554 100644
@@ -169,6 +169,7 @@ int board_fix_fdt(void *fdt)
 
 		reg_name = reg_names;
 		remaining_names_len = names_len - (reg_name - reg_names);
+		i = 0;
 		while ((i < ARRAY_SIZE(reg_names_map)) && remaining_names_len) {
 			old_name_len = strlen(reg_names_map[i].old_str);
 			new_name_len = strlen(reg_names_map[i].new_str);
Signature · 1 line
2.7.4
#1 lore raw

PATCH v2 1/1 board: lx2160a: Correct board fixup for PCIe nodes

Quoted 7 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Vikas Singh
Sent: Wednesday, February 12, 2020 1:47 PM
To: Priyanka Jain <[email protected]>
Cc: u-boot at lists.denx.de
Subject: [PATCH v2] board: lx2160a: Correct board fixup for PCIe nodes

Quoted 6 lines

Update "board_fix_fdt" with correct counter value "i". This will fix the issue while fetching the "reg_names" resource from fdt after fixup.

---

Applied to u-boot-fsl-qoriq. Waiting upstream

Thanks
Priyanka