]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: sifive: unmatched: refine GEMGXL initialized function in SPL
authorVincent Chen <vincent.chen@sifive.com>
Thu, 8 Jul 2021 01:08:20 +0000 (09:08 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 21 Jul 2021 14:25:15 +0000 (22:25 +0800)
commitd3c96b9b46a878e59ecb0c267fe846bbb556f963
tree9ce5851878ec6c47e1a52259ba88a6491930ce8f
parente52b83ab13de0a19f3bdba8a4f29214c436ea7f2
board: sifive: unmatched: refine GEMGXL initialized function in SPL

Create a new function spl_reset_device_by_gpio to reset the device
whose reset pin is connected to the GPIO. Then, using this function
to initialize GEMGXL.

Signed-off-by: Vincent Chen <vincent.chen@sifive.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
board/sifive/unmatched/spl.c