mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
FEC: Replace magic contants
Replace the magic contant 1 << 24 with properly defined bits. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Fabio Estevam <festevam@gmail.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Stefano Babic <sbabic@denx.de>
This commit is contained in:
committed by
Joe Hershberger
parent
67449098a8
commit
c0b5a3bbb0
@@ -213,6 +213,9 @@ struct ethernet_regs {
|
||||
|
||||
#define FEC_X_WMRK_STRFWD 0x00000100
|
||||
|
||||
#define FEC_X_DES_ACTIVE_TDAR 0x01000000
|
||||
#define FEC_R_DES_ACTIVE_RDAR 0x01000000
|
||||
|
||||
#if defined(CONFIG_MX25) || defined(CONFIG_MX53)
|
||||
/* defines for MIIGSK */
|
||||
/* RMII frequency control: 0=50MHz, 1=5MHz */
|
||||
|
||||
Reference in New Issue
Block a user