mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02:00
test: Fix FIT test to pass again
A recent change adjusted a test string so that the test no-longer passes.
Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Heiko Schocher <hs@denx.de>
Fixes: b28c5fcc
(test-fit.py: Minor grammar/spelling/clarification tweaks)
This commit is contained in:
@@ -392,7 +392,7 @@ def run_fit_test(mkimage, u_boot):
|
|||||||
fail('Ramdisk loaded but should not be', stdout)
|
fail('Ramdisk loaded but should not be', stdout)
|
||||||
|
|
||||||
# Find out the offset in the FIT where U-Boot has found the FDT
|
# Find out the offset in the FIT where U-Boot has found the FDT
|
||||||
line = find_matching(stdout, 'Booting using the FDT blob at ')
|
line = find_matching(stdout, 'Booting using the fdt blob at ')
|
||||||
fit_offset = int(line, 16) - params['fit_addr']
|
fit_offset = int(line, 16) - params['fit_addr']
|
||||||
fdt_magic = struct.pack('>L', 0xd00dfeed)
|
fdt_magic = struct.pack('>L', 0xd00dfeed)
|
||||||
data = read_file(fit)
|
data = read_file(fit)
|
||||||
|
Reference in New Issue
Block a user