diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-01-19 12:03:09 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-05-18 16:20:04 +0200 |
commit | 26a8987c46ff250ba3ecee9b4112fca07844800c (patch) | |
tree | 32b291ebf0eacd38b2871787130b303d228cf642 /include | |
parent | dfc1d8ef6b2ec23aef3a0d0b085a1d71745f1b22 (diff) | |
download | barebox-26a8987c46ff250ba3ecee9b4112fca07844800c.tar.gz barebox-26a8987c46ff250ba3ecee9b4112fca07844800c.tar.xz |
[macb] add MII flag, improve code readability
This patch adds the flag "AT91SAM_ETHER_MII" along to the existing
"AT91SAM_ETHER_RMII". This improves code readability in baords which
are using plain MII mode.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-at91sam9/ether.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-arm/arch-at91sam9/ether.h b/include/asm-arm/arch-at91sam9/ether.h index 4f6730f1d0..e315036c21 100644 --- a/include/asm-arm/arch-at91sam9/ether.h +++ b/include/asm-arm/arch-at91sam9/ether.h @@ -1,7 +1,8 @@ #ifndef __AT91SAM_ETHER_H #define __AT91SAM_ETHER_H -#define AT91SAM_ETHER_RMII (1 << 0) +#define AT91SAM_ETHER_MII (0 << 0) +#define AT91SAM_ETHER_RMII (1 << 0) struct at91sam_ether_platform_data { unsigned int flags; |