I recently ported the i.MX8MM EVK to our own board in u-boot-imx/added our own board, according to this thread: U-boot porting for custom board based on imx8M nano processor
That was working well, but when I changed the files to our own vendor folder (e.g. board/{vendor}/imx8mm_evk/), u-boot doesn't compile anymore, complaining about
/u-boot-imx/2022.04-r0/git/boot/image-android.c:195: undefined reference to `mmc_map_to_kernel_blk'
When I set CONFIG_ANDROID_BOOT_IMAGE=n, I can compile it, but get a segmentation fault when trying to flash that image to the emmc.