Re: [U-Boot] [PATCH 08/24] armv8: add simple sdelay implementation

2016-11-23 Thread Siarhei Siamashka
On Mon, 21 Nov 2016 16:52:47 +0100 Alexander Graf wrote: > On 20/11/2016 15:57, Andre Przywara wrote: > > The sunxi DRAM setup code needs an sdelay() implementation, which > > wasn't defined for armv8 so far. > > Shamelessly copy the armv7 version and adjust it to work in AArch64. > > > > Signed-

Re: [U-Boot] [PATCH 08/24] armv8: add simple sdelay implementation

2016-11-23 Thread André Przywara
On 24/11/16 01:25, Siarhei Siamashka wrote: Hi Siarhei, > On Sun, 20 Nov 2016 14:57:02 + > Andre Przywara wrote: > >> The sunxi DRAM setup code needs an sdelay() implementation, which >> wasn't defined for armv8 so far. >> Shamelessly copy the armv7 version and adjust it to work in AArch64.

Re: [U-Boot] [PATCH 08/24] armv8: add simple sdelay implementation

2016-11-23 Thread Siarhei Siamashka
On Sun, 20 Nov 2016 14:57:02 + Andre Przywara wrote: > The sunxi DRAM setup code needs an sdelay() implementation, which > wasn't defined for armv8 so far. > Shamelessly copy the armv7 version and adjust it to work in AArch64. > > Signed-off-by: Andre Przywara > --- > arch/arm/cpu/armv8/cp

Re: [U-Boot] [PATCH 08/24] armv8: add simple sdelay implementation

2016-11-21 Thread Alexander Graf
On 20/11/2016 15:57, Andre Przywara wrote: The sunxi DRAM setup code needs an sdelay() implementation, which wasn't defined for armv8 so far. Shamelessly copy the armv7 version and adjust it to work in AArch64. Signed-off-by: Andre Przywara I don't think it hurts to write this in C - and I

[U-Boot] [PATCH 08/24] armv8: add simple sdelay implementation

2016-11-20 Thread Andre Przywara
The sunxi DRAM setup code needs an sdelay() implementation, which wasn't defined for armv8 so far. Shamelessly copy the armv7 version and adjust it to work in AArch64. Signed-off-by: Andre Przywara --- arch/arm/cpu/armv8/cpu.c | 13 + 1 file changed, 13 insertions(+) diff --git a/ar