Re: RFC: types conflicts

2020-07-08 Thread Peter Mamonov
Hello, Ahmad, On Wed, Jul 08, 2020 at 10:02:00AM +0200, Ahmad Fatoum wrote: > Hello Peter, > > On 7/7/20 3:56 PM, Peter Mamonov wrote: > > Hello, > > > > I tried to build MicroPython using barebox toolchain and found a number of > > conflicts between barebox and compiler headers. Below you will

[PATCH] treewide: Convert files covered by ARM copyright to SPDX

2020-07-08 Thread Uwe Kleine-König
According to Marc Zyngier, former employee at ARM, the company owns the copyright for code created by its employees. Convert accordingly to SPDX with the usual rearrangements. Also dropped Marc's email address which doesn't work any more. Signed-off-by: Uwe Kleine-König --- arch/arm/include/asm/

[PATCH] arch/arm/include: Convert to SPDX-License and -Copyright specifiers

2020-07-08 Thread Uwe Kleine-König
Converts the files that licensecheck can determine the license for. Also convert to obvious right Copyright statements. Additionally some minor code reformatting is done. Signed-off-by: Uwe Kleine-König --- arch/arm/include/asm/assembler.h| 9 +++-- arch/arm/include/asm/barebox-arm.

Re: [PATCH] crypto: caam - Always do rng selftest

2020-07-08 Thread Roland Hieber
On Mon, Aug 05, 2019 at 04:09:27PM +0200, Sascha Hauer wrote: > The caam rng selftest is known to be broken in several i.MX > incarnations. To be on the safe side just unconditionally execute > it rather than trying to guess from HAB failure events if this is > necessary. > We can only do the selft

Re: [PATCH 0/5] treewide: delete code referencing unused headers

2020-07-08 Thread Ahmad Fatoum
Should have thought a little more about the title.. It removes code referencing _non-existent_ headers. On 7/8/20 9:47 AM, Ahmad Fatoum wrote: > Found by manual inspection of the output of following command: > > find . -name '*.[ch]' -exec egrep -H -o '^\s*#include <.*\.h>' {} \; | \ > perl -n

Re: RFC: types conflicts

2020-07-08 Thread Ahmad Fatoum
Hello Peter, On 7/7/20 3:56 PM, Peter Mamonov wrote: > Hello, > > I tried to build MicroPython using barebox toolchain and found a number of > conflicts between barebox and compiler headers. Below you will find the patch > which demostrates some of them. In this particular example the problem ari

[PATCH 1/5] ppc: mpc5xxx: delete dead code

2020-07-08 Thread Ahmad Fatoum
These files had never been built since being added. At least the C file doesn't compile due to missing headers. Remove them. Signed-off-by: Ahmad Fatoum --- arch/powerpc/mach-mpc5xxx/Makefile| 5 - .../mach-mpc5xxx/firmware_sc_task.impl.S | 364 -- arch/powerpc

[PATCH 5/5] lib: lzo: drop unused compression code

2020-07-08 Thread Ahmad Fatoum
The code doesn't compile and went unused since being added 10 years ago. Remove it. Signed-off-by: Ahmad Fatoum --- lib/lzo/Kconfig | 4 - lib/lzo/Makefile | 3 - lib/lzo/lzo1x_compress.c | 279 --- 3 files changed, 286 deletions(-) delet

[PATCH 3/5] lib: list_sort: delete dead code

2020-07-08 Thread Ahmad Fatoum
list_sort.c's core code should only change on sync with Linux, so we don't really need separate testing code. The code doesn't compile as we neither have a CONFIG_TEST_LIST_SORT symbol nor do we have a header. Remove it. Signed-off-by: Ahmad Fatoum --- lib/list_sort.c | 149

[PATCH 2/5] include: delete unreferenced u-boot part.h header

2020-07-08 Thread Ahmad Fatoum
It's unused, the functions that it declares aren't defined in barebox and the header it references doesn't exist. Signed-off-by: Ahmad Fatoum --- include/part.h | 104 - 1 file changed, 104 deletions(-) delete mode 100644 include/part.h diff --g

[PATCH 0/5] treewide: delete code referencing unused headers

2020-07-08 Thread Ahmad Fatoum
Found by manual inspection of the output of following command: find . -name '*.[ch]' -exec egrep -H -o '^\s*#include <.*\.h>' {} \; | \ perl -ne '/(.*):#include\s*<(.*)>/; print "$1: $2\n" unless -f "include/$2";' | \ egrep -v ': (asm|dt-bindings|mach|generated|config\.h)' | egrep -v ^./scrip

[PATCH 4/5] commands: dhrystone: remove unneeded and out-of-place

2020-07-08 Thread Ahmad Fatoum
Our bool definitions come out of . shouldn't be used for normal barebox code. We already include by means of above. So drop the Signed-off-by: Ahmad Fatoum --- commands/dhrystone.c | 1 - 1 file changed, 1 deletion(-) diff --git a/commands/dhrystone.c b/commands/dhrystone.c index c839b0c043