X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fspi%2Fmxc_spi.c;fp=drivers%2Fspi%2Fmxc_spi.c;h=a70dd9dbdd223747a92873792429f1e0326297e6;hb=dfdb35946c027cdebf25c3705b2cce8658f71632;hp=08815994fe5d21d0effd00394cea05ce6698508c;hpb=d920f497705564ba800ca91e8c2105164178699c;p=karo-tx-uboot.git diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c index 08815994fe..a70dd9dbdd 100644 --- a/drivers/spi/mxc_spi.c +++ b/drivers/spi/mxc_spi.c @@ -14,7 +14,7 @@ #include #include -#ifdef CONFIG_MX27 +#ifdef CONFIG_SOC_MX27 /* i.MX27 has a completely wrong register layout and register definitions in the * datasheet, the correct one is in the Freescale's Linux driver */ @@ -105,7 +105,7 @@ static s32 spi_cfg_mxc(struct mxc_spi_slave *mxcs, unsigned int cs) MXC_CSPICTRL_BITCOUNT(MXC_CSPICTRL_MAXBITS) | MXC_CSPICTRL_DATARATE(div) | MXC_CSPICTRL_EN | -#ifdef CONFIG_MX35 +#ifdef CONFIG_SOC_MX35 MXC_CSPICTRL_SSCTL | #endif MXC_CSPICTRL_MODE;