[U-Boot] [PATCH] MIPS: add atomic operations support.

2015-08-25 Thread Govindraj Raja
some of the u-boot frameworks like ubi-fs and eth_gadget uses atomic_* api's. So add atomic api's for mips. This makes ubi-fs on nand work with mips platform. Signed-off-by: Govindraj Raja --- arch/mips/include/asm/atomic.h | 90 ++ 1 file c

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

2015-08-21 Thread Govindraj Raja
> -Original Message- > From: Daniel Schwierzeck [mailto:daniel.schwierz...@gmail.com] > Sent: 21 August 2015 02:21 PM > To: Govindraj Raja > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot][PATCH v2 1/2] MIPS: add clrbits and setbits and add > phy_to_bus support. >

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

2015-08-20 Thread Govindraj Raja
From: Govindraj Raja 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 --- Changes from v1

[U-Boot] [PATCH 2/2] MIPS: fix syntax for fdt_chosen/initrd.

2015-08-19 Thread Govindraj Raja
From: Govindraj Raja The syntax for the fdt_chosen/initrd functions seem to deprecated in usage from MIPS bootm implementation. Third parameter is no more used in these api's Refer to : include/fdt_support.h Signed-off-by: Govindraj Raja --- arch/mips/lib/bootm.c | 4 ++-- 1 file chang

[U-Boot] [PATCH 0/2] MIPS: add support to support usb stack for mips and minor cleanup

2015-08-19 Thread Govindraj Raja
Patch prepares to support usb stack compiled for mips platform. Also fix fdt usage api's from bootm. Govindraj Raja (2): MIPS: add clrbits and setbits and add phy_to_bus support. MIPS: fix syntax for fdt_chosen/initrd. arch/mips/include/asm/io.h

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

2015-08-19 Thread Govindraj Raja
From: Govindraj Raja 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. Also fixes a checkpatch warning with virt_to_phys forward declaration