Introduce IHIFI760/960 targets.

Change-Id: Ie36e48742c0ed9aa3fd6f49aa034a11d2492327c
This commit is contained in:
Andrew Ryabinin 2013-11-16 18:21:00 +04:00
parent 04c59b8a15
commit 5b5f0755d6
18 changed files with 1212 additions and 2 deletions

View file

@ -134,6 +134,9 @@ static inline bool card_detect_target(void)
return !(GPIO_PFDR & (1<<2));
#elif defined(MA9) || defined(MA9C) || defined(MA8) || defined(MA8C)
return (GPIO_PCDR & 0x80);
#elif defined(IHIFI760) || defined(IHIFI960)
/* TODO: find out pin */
return true;
#else
#error "Unknown target"
#endif