Skip to contentSkip to conversation

test: boot: measurement: Fix compilation for non-sandbox builds

PATCH Tom Rini 1 participant 1 message Aug 28 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Tom Rini

author
#1 lore raw
Quoted 10 lines · Jan Kiszka

asm/io.h provides map_to_sysmem() only for the sandbox. Other targets fail the build with

../test/boot/measurement.c: In function ‘measure’:
../test/boot/measurement.c:30:33: error: implicit declaration of function ‘map_to_sysmem’; did you mean ‘map_physmem’? [-Wimplicit-function-declaration]

   30 |         images.os.image_start = map_to_sysmem(kernel);
      |                                 ^~~~~~~~~~~~~
      |                                 map_physmem

[...]

Applied to u-boot/main, thanks!

[1/1] test: boot: measurement: Fix compilation for non-sandbox builds

      commit: f92bd784f6ce15aac66e89ab4c17349af18d4ddd
Signature · 1 line
Tom