[PATCH v3 4/8] usb: dwc2: Clean up with bitfield macros

Marek Vasut marex at denx.de
Sun Jan 5 20:14:09 CET 2025


On 1/4/25 4:37 AM, Junhui Liu wrote:
> From: Kongyang Liu <seashell11234455 at gmail.com>
> 
> Use FIELD_PREP, FIELD_GET, BIT, and GENMASK macros to standardize bit
> manipulation across the DWC2 code, improving readability and
> maintainability without altering functionality.
> 
> Signed-off-by: Kongyang Liu <seashell11234455 at gmail.com>
> Signed-off-by: Junhui Liu <junhui.liu at pigmoral.tech>

Reviewed-by: Marek Vasut <marex at denx.de>


More information about the U-Boot mailing list