Skip to content

Conversation

daniel-rossier
Copy link
Contributor

Here is the correct PR

@daniel-rossier daniel-rossier linked an issue Sep 30, 2025 that may be closed by this pull request
Copy link
Contributor

@clemdiep clemdiep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok for me, there is just some clang-format issue to fix

Comment on lines -678 to +683
__sys_idmap_l1pgtable[l1pte_index(CONFIG_UART_LL_PADDR)] = CONFIG_UART_LL_PADDR & TTB_L1_BLOCK_ADDR_MASK;
set_pte_block(&__sys_idmap_l1pgtable[l1pte_index(CONFIG_UART_LL_PADDR)], DCACHE_OFF);
__sys_idmap_l1pgtable[l1pte_index(CONFIG_UART_LL_PADDR)] = CONFIG_UART_LL_PADDR & TTB_L1_BLOCK_ADDR_MASK;
set_pte_block(&__sys_idmap_l1pgtable[l1pte_index(CONFIG_UART_LL_PADDR)], DCACHE_OFF);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think clang-format isn't liking that change, as it is whitespace only, easy fix would be to revert.

That function indentation is a bit weird because of the #ifdef CONFIG_AVZ which can add or not one level of indentation. So another possible fix would be to correct indentation for the function and add /* clang-format off */ and /* clang-format on */ arround of the function, so clang-format doesn't complain about it.

#ifndef CONFIG_AVZ
__fdt_addr = (void *) __va(fdt_paddr);
#endif

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also remove this line for clang-format. (no empty line at the end of a function)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SO3 boot is blocking on RPi4 64bits
2 participants