commit | 98e9791dd7bbfe61d30f3f89e6837136c155df9f | [log] [tgz] |
---|---|---|
author | Hayes Wang <hayeswang@realtek.com> | Tue Jun 16 17:09:46 2020 +0800 |
committer | Marek Vasut <marex@denx.de> | Tue Sep 01 14:47:36 2020 +0200 |
tree | 2416f54361caeeaed9db2b965f2e0eb7d6b2b94b | |
parent | 27217bc638d55dbda727c58000ebb8bea88a0cad [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>