mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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. Signed-off-by: Vikas Singh <vikas.singh@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
c463eeb4b6
commit
297d48857a
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,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);
|
||||
|
|
Loading…
Reference in a new issue