diff options
author | Alex Elder <elder@linaro.org> | 2018-06-26 02:58:51 +0200 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2018-09-13 23:57:01 +0200 |
commit | ada79289735fea37e755bbefc4403c989e66f4b1 (patch) | |
tree | db1c4594b9a4f782d84a51eefa9ff2d2649fa761 /drivers/spi/spi-sh-hspi.c | |
parent | soc: qcom: smem: require order of host ids to match (diff) | |
download | linux-ada79289735fea37e755bbefc4403c989e66f4b1.tar.xz linux-ada79289735fea37e755bbefc4403c989e66f4b1.zip |
soc: qcom: smem: introduce qcom_smem_partition_header()
Create a new function qcom_smem_partition_header() to encapsulate
validating locating a partition header and validating information
found within it. This will be built up over a few commits to make
it more obvious how the common function is replacing duplicated code
elsewhere. Initially it just verifies the header has the right
magic number.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'drivers/spi/spi-sh-hspi.c')
0 files changed, 0 insertions, 0 deletions