diff options
author | Hayes Wang <hayeswang@realtek.com> | 2020-06-16 17:09:46 +0800 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2020-09-01 14:47:36 +0200 |
commit | 9f6142aa0a456cda16aa01c3acbf3f22a7c1122f (patch) | |
tree | 2416f54361caeeaed9db2b965f2e0eb7d6b2b94b /drivers/dfu | |
parent | 16b9417b6ac64e8942064960a7e9b6fc8502a0a3 (diff) |
eth/r8152: modify rtl_clear_bp function
The original rtl_clear_bp() is used to clear the firmware of both
PLA and USB MCU. The new one could clear the firmware of PLA or
USB independently. It is unnecessary to clear firmware, if there
is no one to be updated.
Besides, clear the firmware by writing the relative registers in
bulk.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Diffstat (limited to 'drivers/dfu')
0 files changed, 0 insertions, 0 deletions