Re: [PATCH] ARM: use system.h's get_cr() for cpuinfo

2019-10-14 Thread Sascha Hauer
On Mon, Oct 07, 2019 at 12:28:59PM +0200, Ahmad Fatoum wrote: > Instead of open-coding the get_cr(), use the already available helper > in same as we do for 64-bit ARMv8. > The only difference is that the "memory" clobber is replaced by "cc". > This is ok as we don't expect get_cr() to affect memo

[PATCH] ARM: use system.h's get_cr() for cpuinfo

2019-10-07 Thread Ahmad Fatoum
Instead of open-coding the get_cr(), use the already available helper in same as we do for 64-bit ARMv8. The only difference is that the "memory" clobber is replaced by "cc". This is ok as we don't expect get_cr() to affect memory and because we do it elsewhere in barebox without a "memory" clobbe