]> git.sur5r.net Git - u-boot/blobdiff - drivers/spi/fsl_dspi.c
fdt: add memory bank decoding functions for board setup
[u-boot] / drivers / spi / fsl_dspi.c
index 887edd801a42d1a87662ca7e3f0f036f19e50cc2..f213587557c6baad1d958caebb0dc55c7ffba3b8 100644 (file)
@@ -24,7 +24,7 @@
 DECLARE_GLOBAL_DATA_PTR;
 
 /* fsl_dspi_platdata flags */
-#define DSPI_FLAG_REGMAP_ENDIAN_BIG    (1 << 0)
+#define DSPI_FLAG_REGMAP_ENDIAN_BIG    BIT(0)
 
 /* idle data value */
 #define DSPI_IDLE_VAL                  0x0
@@ -594,7 +594,7 @@ static int fsl_dspi_claim_bus(struct udevice *dev)
 
        priv = dev_get_priv(bus);
 
-       /* processor special prepartion work */
+       /* processor special preparation work */
        cpu_dspi_claim_bus(bus->seq, slave_plat->cs);
 
        /* configure transfer mode */