Skip to content

Commit

Permalink
target: Add api to get sdcard mmc_device
Browse files Browse the repository at this point in the history
  • Loading branch information
TravMurav authored and stephan-gh committed Nov 4, 2023
1 parent 864b2a8 commit aa8c38b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ bool target_battery_is_present(void);
uint32_t target_get_pmic(void);
int target_update_cmdline(char *cmdline);

struct mmc_device *target_get_sd_mmc(void);

static inline bool target_is_ssd_enabled(void)
{
#ifdef SSD_ENABLE
Expand Down
5 changes: 5 additions & 0 deletions target/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,11 @@ __WEAK uint32_t target_ddr_cfg_val(void)
return DDR_CONFIG_VAL;
}

__WEAK struct mmc_device *target_get_sd_mmc(void)
{
return NULL;
}

__WEAK unsigned int qseecom_get_version(void)
{
return 0;
Expand Down

0 comments on commit aa8c38b

Please sign in to comment.