Hi Daniel,

On 7/19/26 3:52 AM, Daniel Golle wrote:
The GPT-based capsule update helpers match updatable images by
partition type GUID and fail to build if PARTITION_TYPE_GUID is not
enabled:

   arch/arm/mach-rockchip/board.c:50:29: error: 'struct disk_partition'
   has no member named 'type_guid'

Boards which keep their firmware on SPI-NOR use a static dfu_string
instead of scanning GPT partitions and have no use for this code, so
guard it accordingly.


Fixes: bea9267d7e6d ("rockchip: capsule: Add functions for supporting capsule updates")
Reviewed-by: Quentin Schulz <[email protected]>

I'm thinking maybe we also need to change from IS_ENABLED(CONFIG_EFI_PARTITION) to CONFIG_IS_ENABLED(EFI_PARTITION), but that isn't required for this patch here.

Thanks!
Quentin

Reply via email to