From: Hayes Wang Date: Tue, 16 Jun 2020 17:09:43 +0800 Subject: [PATCH u-boot v2 0/4] r8152: support more chips Message-ID: <1394712342-15778-382-Taiwan-albertk@realtek.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de v2: For patch #1, replace u32 with u8 for rtl_reset_bmu(). For patch #3, use USB_BP(n) to replace USB_BP_0 ~ USB_BP_7. Write the registers in bulk for rtl_clear_bp(). For patch #4, add a macro for the magic value. Remove type casts. Write the register in bulk, if it is possible. Reduce indent. v1: The first two patched are some improvements. And the last two patches are used to support RTL8153B and RTL8154B. Hayes Wang (4): eth/r8152: reset bmu after disabling Tx/Rx eth/r8152: reset PHY after setting it eth/r8152: modify rtl_clear_bp function eth/r8152: support RTL8153B/RTL8154B drivers/usb/eth/r8152.c | 223 +++++++++++++++++++++++++++++++++- drivers/usb/eth/r8152.h | 71 +++++++++-- drivers/usb/eth/r8152_fw.c | 239 +++++++++++++++++++++++++++++++++---- 3 files changed, 493 insertions(+), 40 deletions(-) -- 2.21.1