# short-description: Create SD card image with 2 partitions and EFI support
# long-description: Creates a partitioned SD card image for TI platforms that
# supports EFI.  Boot files are located in the first vfat partition with extra
# reserved space.  We cannot use a GPT here.

bootloader --timeout=3 --append="rootfstype=ext4"
part --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --fstype=vfat --label boot --active --align 1024 --use-uuid --fixed-size 128M
part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid
