board: venice: add spl_board_loader_name
PATCH 1/1 board: venice: add spl_board_loader_name
Implement spl_board_loader_name to provide more meaningful device names vs MMC1 and MMC2.
Signed-off-by Tim Harvey <[email protected]>
--- board/gateworks/venice/spl.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
board/gateworks/venice/spl.c +14 -0
@@ -301,3 +301,17 @@ int spl_board_boot_device(enum boot_device boot_dev_spl)return BOOT_DEVICE_NONE ; } } + +const char *spl_board_loader_name (u32 boot_device) +{ +switch (boot_device) { +/* SDHC2 */ +case BOOT_DEVICE_MMC1 : +return "eMMC" ; +/* SDHC3 */ +case BOOT_DEVICE_MMC2 : +return "SD card" ; +default : +return NULL ; + } +}
Signature · 1 line
2.17.1
Quoted 6 lines
Subject: [PATCH] board: venice: add
spl_board_loader_nameImplement
spl_board_loader_nameto provide more meaningful device names vs MMC1 and MMC2.Signed-off-by Tim Harvey <[email protected]>
Nice. Reviewed-by: Peng Fan <[email protected]>
Quoted 28 lines
--- board/gateworks/venice/spl.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)board/gateworks/venice/spl.c +13
-1@@ -301,3 +301,17 @@ int spl_board_boot_device(enum boot_device boot_dev_spl)return BOOT_DEVICE_NONE ; } } + +const char *spl_board_loader_name (u32 boot_device) { +switch (boot_device) { +/* SDHC2 */ +case BOOT_DEVICE_MMC1 : +return "eMMC" ; +/* SDHC3 */ +case BOOT_DEVICE_MMC2 : +return "SD card" ; +default : +return NULL ; + } +} --2.17.1
PATCH 1/1 board: venice: add spl_board_loader_name
In reply to Tim HarveyQuoted 3 lines
Implement
spl_board_loader_nameto provide more meaningful device names vs MMC1 and MMC2.Signed-off-by Tim Harvey <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================