Skip to content
Commit 9f6142aa authored by Hayes Wang's avatar Hayes Wang Committed by Marek Vasut
Browse files

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: default avatarHayes Wang <hayeswang@realtek.com>
parent 16b9417b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment