cmd: mmc: check whether bootbus's arguments is valid or not
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 26 Feb 2021 09:38:20 +0000 (18:38 +0900)
committerPeng Fan <peng.fan@nxp.com>
Tue, 6 Apr 2021 10:08:26 +0000 (18:08 +0800)
commite9978b17cd7bc19f0459b2829756f1d891382bf9
tree4095b047c697ed5850608ed2f739ffdedb9f5530
parent8ae82c4b12e71b9f114aeb18e2211ce1260012ca
cmd: mmc: check whether bootbus's arguments is valid or not

According to Specification, each bit have valid value.
But it doesn't check whether arguments is valid or not.
It has potential bug with arguments passed by wrong value.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
cmd/mmc.c