]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dwc_eth_qos: Use FIELD_PREP for ETH_SEL bitfield
authorMarek Vasut <marex@denx.de>
Tue, 26 Mar 2024 12:07:26 +0000 (13:07 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Apr 2024 09:30:50 +0000 (11:30 +0200)
commit416592e26506f7ff44922b0547b297f5f7e52ad3
treee4d106e877b2c6290205eec0bd20b360760680bf
parentb204c2a9ae7adc3dc65a51df2254d8abc7ae07a3
net: dwc_eth_qos: Use FIELD_PREP for ETH_SEL bitfield

Use FIELD_PREP to configure content of ETH_SEL bitfield in SYSCFG_PMCSETR
register. No functional change.

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Marek Vasut <marex@denx.de>
drivers/net/dwc_eth_qos_stm32.c