diff options
author | Heiko Schocher <hs@denx.de> | 2008-11-21 08:29:40 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-01-24 00:39:06 +0100 |
commit | 210c8c00aad3328145204adab434bb7d70b06b75 (patch) | |
tree | e54366427b6e170c4c1a77bc5a24f3bef03a1354 /include/configs/mgcoge.h | |
parent | de0443614af4d16675ab436665aeb11ddc9f7214 (diff) | |
download | u-boot-imx-210c8c00aad3328145204adab434bb7d70b06b75.zip u-boot-imx-210c8c00aad3328145204adab434bb7d70b06b75.tar.gz u-boot-imx-210c8c00aad3328145204adab434bb7d70b06b75.tar.bz2 |
powerpc: keymile: Add a check for the PIGGY debug board
Check the presence of the PIGGY on the keymile boards mgcoge,
mgsuvd and kmeter1. If the PIGGY is not present, dont register
this Ethernet device.
Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include/configs/mgcoge.h')
-rw-r--r-- | include/configs/mgcoge.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h index dc9b311..31428ea 100644 --- a/include/configs/mgcoge.h +++ b/include/configs/mgcoge.h @@ -400,4 +400,14 @@ #define OF_TBCLK (bd->bi_busfreq / 4) #define OF_STDOUT_PATH "/soc/cpm/serial@11a90" +/* + * How to get access to the slot ID. Put this here to make it easy + * to modify in a centralized location. This is used in the HDLC + * driver to set the MAC. +*/ +#define CONFIG_SYS_SLOT_ID_BASE CONFIG_SYS_PIGGY_BASE +#define CONFIG_SYS_SLOT_ID_OFF (0x07) /* register offset */ +#define CONFIG_SYS_SLOT_ID_MASK (0x3f) /* mask for slot ID bits */ + + #endif /* __CONFIG_H */ |