nyx: part mgr: fix 64GB emuMMC size

Fix size so the emuMMC data can be aligned properly.
This commit is contained in:
CTCaer
2025-06-22 14:25:39 +03:00
committed by NaGa
parent 93e3aa7830
commit 0d3df99f76

View File

@@ -2662,8 +2662,8 @@ out:
static lv_res_t _action_slider_emu(lv_obj_t *slider)
{
#define EMUMMC_32GB_FULL 29856
#define EMUMMC_64GB_FULL 59664
#define EMUMMC_32GB_FULL 29856 // Actual: 29820 MB.
#define EMUMMC_64GB_FULL 59680 // Actual: 59640 MB.
static const u32 rsvd_mb = 4 + 4 + 16 + 8; // BOOT0 + BOOT1 + 16MB protective offset + 8MB alignment.
u32 max_emmc_size = !part_info.emmc_is_64gb ? EMUMMC_32GB_FULL : EMUMMC_64GB_FULL;