soc: qcom: smem: Support dynamic item limit
authorChris Lew <clew@codeaurora.org>
Wed, 11 Oct 2017 21:29:09 +0000 (14:29 -0700)
committerAndy Gross <andy.gross@linaro.org>
Thu, 12 Oct 2017 04:48:27 +0000 (23:48 -0500)
commit5b3940676107dd65165b5eaea58fa60442d29a1f
tree4bc4a889fbff1fe5d474d656a4014edcb9dfa0c8
parentd52e404874369f10d20519f4095478d9cb4d6aad
soc: qcom: smem: Support dynamic item limit

In V12 SMEM, SBL writes SMEM parameter information after the TOC. Use
the SBL provided item count as the max item number.

Signed-off-by: Chris Lew <clew@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/smem.c