Home
last modified time | relevance | path

Searched hist:d5ed2946407c08cc57cd14eec51517fc5fa0cec4 (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/plat/hisilicon/poplar/
H A Dbl1_plat_setup.cd5ed2946407c08cc57cd14eec51517fc5fa0cec4 Thu Sep 27 08:48:00 UTC 2018 Shawn Guo <shawn.guo@linaro.org> poplar: fix build error with POPLAR_RECOVERY=1

Commit eba1b6b3c724 ("plat/poplar: migrate to mmc framework") defines
variable 'info' without !POPLAR_RECOVERY protection, and hence causes
the following unused variable error with POPLAR_RECOVERY=1 build.

plat/hisilicon/poplar/bl1_plat_setup.c: In function ‘bl1_platform_setup’:
plat/hisilicon/poplar/bl1_plat_setup.c:95:25: error: unused variable ‘info’ [-Werror=unused-variable]
struct mmc_device_info info;
^~~~

The patches fixes the build error with POPLAR_RECOVERY=1.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
H A Dbl2_plat_setup.cd5ed2946407c08cc57cd14eec51517fc5fa0cec4 Thu Sep 27 08:48:00 UTC 2018 Shawn Guo <shawn.guo@linaro.org> poplar: fix build error with POPLAR_RECOVERY=1

Commit eba1b6b3c724 ("plat/poplar: migrate to mmc framework") defines
variable 'info' without !POPLAR_RECOVERY protection, and hence causes
the following unused variable error with POPLAR_RECOVERY=1 build.

plat/hisilicon/poplar/bl1_plat_setup.c: In function ‘bl1_platform_setup’:
plat/hisilicon/poplar/bl1_plat_setup.c:95:25: error: unused variable ‘info’ [-Werror=unused-variable]
struct mmc_device_info info;
^~~~

The patches fixes the build error with POPLAR_RECOVERY=1.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>