Merge pull request #1786 from laroche/static_vars_functions
Change some vars and functions to be static.
This commit is contained in:
commit
5755a30b85
|
@ -16,7 +16,7 @@
|
||||||
#include <plat/common/platform.h>
|
#include <plat/common/platform.h>
|
||||||
|
|
||||||
static uint8_t mbr_sector[PARTITION_BLOCK_SIZE];
|
static uint8_t mbr_sector[PARTITION_BLOCK_SIZE];
|
||||||
partition_entry_list_t list;
|
static partition_entry_list_t list;
|
||||||
|
|
||||||
#if LOG_LEVEL >= LOG_LEVEL_VERBOSE
|
#if LOG_LEVEL >= LOG_LEVEL_VERBOSE
|
||||||
static void dump_entries(int num)
|
static void dump_entries(int num)
|
||||||
|
|
|
@ -183,7 +183,7 @@ static int dwufs_phy_set_pwr_mode(ufs_params_t *params)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ufs_ops_t dw_ufs_ops = {
|
static const ufs_ops_t dw_ufs_ops = {
|
||||||
.phy_init = dwufs_phy_init,
|
.phy_init = dwufs_phy_init,
|
||||||
.phy_set_pwr_mode = dwufs_phy_set_pwr_mode,
|
.phy_set_pwr_mode = dwufs_phy_set_pwr_mode,
|
||||||
};
|
};
|
||||||
|
|
|
@ -591,7 +591,7 @@ void ufs_write_desc(int idn, int index, uintptr_t buf, size_t size)
|
||||||
ufs_query(QUERY_WRITE_DESC, idn, index, 0, buf, size);
|
ufs_query(QUERY_WRITE_DESC, idn, index, 0, buf, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ufs_read_capacity(int lun, unsigned int *num, unsigned int *size)
|
static void ufs_read_capacity(int lun, unsigned int *num, unsigned int *size)
|
||||||
{
|
{
|
||||||
utp_utrd_t utrd;
|
utp_utrd_t utrd;
|
||||||
resp_upiu_t *resp;
|
resp_upiu_t *resp;
|
||||||
|
|
Loading…
Reference in New Issue