sifive: fu540: Add runtime boot mode detection
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 15 Jul 2020 10:08:58 +0000 (15:38 +0530)
committerAndes <uboot@andestech.com>
Fri, 24 Jul 2020 06:55:19 +0000 (14:55 +0800)
commit868e295ef72535300037fc264e770cfdca3f5894
treef59535b698a31da5cd80c5e6ec1ef81eaccaf81a
parent3d5ac3536be97a679763e261c55167bfd356a412
sifive: fu540: Add runtime boot mode detection

Add support to detect boot mode at runtime for
SiFive FU540 boards.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Tested-by: Bin Meng <bin.meng@windriver.com>
board/sifive/fu540/fu540.c