[U-Boot] [PATCH v2 1/2] MIPS: add clrbits and setbits and add phy_to_bus support.

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Fri Aug 21 15:20:53 CEST 2015



Am 20.08.2015 um 16:01 schrieb Govindraj Raja:
> From: Govindraj Raja <Govindraj.Raja at imgtec.com>
> 
> usb stack utilizes the clr/set_bits macros
> also usb stack needs phy_to_bus/bus_to_phys functions.
> Thus adding these macro and functions for mips platform.
> 
> This makes usb stack usable with mips platform.
> 
> Signed-off-by: Govindraj Raja <govindraj.raja at imgtec.com>
> ---
> 
> Changes from v1:
> ---------------
> Fixes comments from Daniel as dicussed in below thread:
> https://patchwork.ozlabs.org/patch/508821/
> 
> 
>  arch/mips/include/asm/io.h | 54 ++++++++++++++++++++++++++++++++++++++++++++++
>  arch/mips/lib/io.c         | 14 ++++++++++++
>  2 files changed, 68 insertions(+)
> 

applied to u-boot-mips/next, thanks

the following include files were missing in io.c
+#include <asm/io.h>
+#include <linux/compiler.h>

-- 
- Daniel


More information about the U-Boot mailing list