]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: zynq: Add support for GEM reset
authorMichal Simek <michal.simek@xilinx.com>
Mon, 6 Dec 2021 15:25:20 +0000 (16:25 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 5 Jan 2022 10:16:21 +0000 (11:16 +0100)
commitb5ffc9f758a7a25c4aeabe8a6e889febc989bb4c
treecf89492621c018941a041bd99146d79f503d2671
parent12133b11a7ff817fd96210eeb7e84ff9f871e714
net: zynq: Add support for GEM reset

Perform reset before core initialization.
Standard flow which close to 99% users are using getting all IPs out of
reset that there is no need to reset IP again. This is because of all low
level initialization is done in previous bootloader stage.
In SOM case these IPs are not touched by previous bootloader stage that's
why reset needs to be called before IP is accessed to make sure that it is
in correct state.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Link: https://lore.kernel.org/r/5ae1c85b282d632bb62030f1f24a0065661b9153.1638804318.git.michal.simek@xilinx.com
drivers/net/zynq_gem.c