summaryrefslogtreecommitdiffstats
path: root/common/oftree.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-05-03 09:59:24 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-05-03 10:14:47 +0200
commit2d7b49c1e7ee5ff5cd67be3ebf100d7b3c9ae293 (patch)
tree4115ff642180d52aaa4fb49d86b50f5947b737fb /common/oftree.c
parent67acc03cd2d8384eece4ece6567360960c9f0cec (diff)
downloadbarebox-2d7b49c1e7ee5ff5cd67be3ebf100d7b3c9ae293.tar.gz
barebox-2d7b49c1e7ee5ff5cd67be3ebf100d7b3c9ae293.tar.xz
ARM: karo-tx6x: Fix DCD check operations
In f04deb4018 was discovered that we used the wrong names for the check operations. What we named "while_all_bits_clear" really was the operation "until_all_bits_clear" and likewise for the other operations, so this patch renamed the operations from "while_*" to "until_*". Additionally it was assumed that the users have the correct textual logic, but were compiled to the wrong result. At least for the Karo TX6X boards it was the other way round though: The texts were wrong, but the result was correct. This means, although they had the wrong text, the result was working on the hardware. Now f04deb4018 replaced "while_all_bits_clear" with "until_all_bits_set" and with this broke the DCD tables. Fix this by replacing them with the correct commands. Fixes: f04deb4018 ("i.MX/DCD compiler and interpreter: logic is different") Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/oftree.c')
0 files changed, 0 insertions, 0 deletions