]> git.sur5r.net Git - u-boot/commit
mpc52xx: Get rid of board-specific #ifdef's in cpu/mpc5xxx/ide.c
authorGrzegorz Bernacki <gjb@semihalf.com>
Tue, 17 Mar 2009 09:06:39 +0000 (10:06 +0100)
committerWolfgang Denk <wd@denx.de>
Wed, 18 Mar 2009 19:54:56 +0000 (20:54 +0100)
commit6a397ef0e6c58caab8bf427d447714bc9b3bb9d4
tree76716bdde499c79ad64371697840cfb4c09b5527
parent1b6275dfb173bd2edb8f208dd050d6f47ae39654
mpc52xx: Get rid of board-specific #ifdef's in cpu/mpc5xxx/ide.c

Total5200 and digsy MTC use I2C port 2 pins as a ATA chip select.
To avoid adding board-specific ifdefs to cpu/mpc5xxx/ide.c new
define CONFIG_SYS_ATA_CS_ON_I2C2 was introduced. It is used by
Total5200 and will be used by digsy MTC and other boards with
ATA CS on I2C pins.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
cpu/mpc5xxx/ide.c
include/configs/Total5200.h