Re: [PATCH] arm: mvebu: Replace hardcoded values 0x0030/0x4030 by proper calculation

2022-01-14 Thread Stefan Roese
On 1/12/22 18:32, Pali Rohár wrote: These hardcoded values were calculated from CONFIG_SPL_TEXT_BASE macro. Now this macro is configurable via Kconfig, so calculate values 0x0030/0x4030 at compile time via CONFIG_SPL_TEXT_BASE option. Values 0x0030/0x4030 represents offset of CONFIG_SPL_TEXT_BASE

Re: [PATCH] arm: mvebu: Replace hardcoded values 0x0030/0x4030 by proper calculation

2022-01-13 Thread Pali Rohár
On Thursday 13 January 2022 07:51:41 Stefan Roese wrote: > On 1/12/22 18:32, Pali Rohár wrote: > > These hardcoded values were calculated from CONFIG_SPL_TEXT_BASE macro. Now > > this macro is configurable via Kconfig, so calculate values 0x0030/0x4030 > > at compile time via CONFIG_SPL_TEXT_BASE o

Re: [PATCH] arm: mvebu: Replace hardcoded values 0x0030/0x4030 by proper calculation

2022-01-12 Thread Stefan Roese
On 1/12/22 18:32, Pali Rohár wrote: These hardcoded values were calculated from CONFIG_SPL_TEXT_BASE macro. Now this macro is configurable via Kconfig, so calculate values 0x0030/0x4030 at compile time via CONFIG_SPL_TEXT_BASE option. Values 0x0030/0x4030 represents offset of CONFIG_SPL_TEXT_BASE

Re: [PATCH] arm: mvebu: Replace hardcoded values 0x0030/0x4030 by proper calculation

2022-01-12 Thread Pali Rohár
On Wednesday 12 January 2022 23:27:06 Marek Behún wrote: > On Wed, 12 Jan 2022 18:32:08 +0100 > Pali Rohár wrote: > > > These hardcoded values were calculated from CONFIG_SPL_TEXT_BASE macro. Now > > this macro is configurable via Kconfig, so calculate values 0x0030/0x4030 > > at compile time via

Re: [PATCH] arm: mvebu: Replace hardcoded values 0x0030/0x4030 by proper calculation

2022-01-12 Thread Marek Behún
On Wed, 12 Jan 2022 18:32:08 +0100 Pali Rohár wrote: > These hardcoded values were calculated from CONFIG_SPL_TEXT_BASE macro. Now > this macro is configurable via Kconfig, so calculate values 0x0030/0x4030 > at compile time via CONFIG_SPL_TEXT_BASE option. Values 0x0030/0x4030 > represents offse

[PATCH] arm: mvebu: Replace hardcoded values 0x0030/0x4030 by proper calculation

2022-01-12 Thread Pali Rohár
These hardcoded values were calculated from CONFIG_SPL_TEXT_BASE macro. Now this macro is configurable via Kconfig, so calculate values 0x0030/0x4030 at compile time via CONFIG_SPL_TEXT_BASE option. Values 0x0030/0x4030 represents offset of CONFIG_SPL_TEXT_BASE from address 0x4000. Signed-off-