> On 21 Nov 2023, at 09:45, Michal Orzel <[email protected]> wrote:
> 
> Macro print_reg is used to print a value of a register passed as an
> argument. While today it is only used from within the common head.S,
> in the future we might want to make use of it from other files, just
> like PRINT(). It also serves as a great aid when debugging.
> 
> Expose print_reg macro by moving it to asm/arm64/macros.h and:
> - rename putn to asm_putn to denote the usage from assembly only,
> - use ENTRY() for asm_putn to make it globally visible,
> - get rid of unneeded stubs for early_puts, init_uart and putn since
>   the calls to them are already protected by #ifdef CONFIG_EARLY_PRINTK.
> 
> This way the behavior will be consistent with what we already do on arm32.
> 
> Signed-off-by: Michal Orzel <[email protected]>

Hi Michal,

I’ve also tested on FVP

Reviewed-by: Luca Fancellu <[email protected]>
Tested-by: Luca Fancellu <[email protected]>


Reply via email to