aboutsummaryrefslogtreecommitdiff
path: root/cmd/mvebu/bubt.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mvebu/bubt.c')
-rw-r--r--cmd/mvebu/bubt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c
index 49797b23144..37ff9c45522 100644
--- a/cmd/mvebu/bubt.c
+++ b/cmd/mvebu/bubt.c
@@ -223,8 +223,7 @@ static int mmc_burn_image(size_t image_size)
orig_part = mmc->block_dev.hwpart;
#endif
- part = (mmc->part_config >> 3) & PART_ACCESS_MASK;
-
+ part = EXT_CSD_EXTRACT_BOOT_PART(mmc->part_config);
if (part == 7)
part = 0;