From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vipin Kumar Date: Fri, 4 Oct 2013 11:57:27 +0530 Subject: [U-Boot] [PATCH v6] spi: pl022_spi: Add support for ARM PL022 spi controller In-Reply-To: References: <1371041266-18411-1-git-send-email-armando.visconti@st.com> <51B88EB4.5000601@st.com> <51B89189.8010001@st.com> <51B899D9.60400@st.com> <524E3FA5.5030700@st.com> Message-ID: <524E5FCF.103@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/4/2013 11:32 AM, Jagan Teki wrote: > Couldn't find in master, can you provide the link atleast. > I am sorry. Got confused with something else You are right. It seems this is not merged yet May be I have to take this and send a pull request. Meanwhile, can you try taking this patch from the mail itself Regards Vipin > On Fri, Oct 4, 2013 at 9:40 AM, Vipin Kumar wrote: >> On 10/4/2013 1:22 AM, Jagan Teki wrote: >>> >>> Any update on this. >>> >> >> This should already be in u-boot mainline >> >> Regards >> Vipin >> >>> On Wed, Jun 12, 2013 at 9:25 PM, Armando Visconti >>> wrote: >>>> >>>> On 06/12/2013 05:29 PM, Jagan Teki wrote: >>>>> >>>>> >>>>> On Wed, Jun 12, 2013 at 8:49 PM, Armando Visconti >>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> But if you prefer to be on safer side I think we >>>>>>> need to re-do some checks on a spare 1340 board... >>>>>>> >>>>>> >>>>>> >>>>>> OK, maybe it is better to re-check again. >>>>>> >>>>>> I need to find some time and a spare board... >>>>>> >>>>>> I'll let you know, >>>>>> Arm >>>>> >>>>> >>>>> >>>>> Do we have an config file available in master, i need to build at-least. >>>>> >>>> >>>> Mmmh... currently in mainline there is only spear3xx config file, >>>> but there is no PL022 support there. >>>> >>>> In fact, to compile locally here I had to change it in this way, even >>>> if they cannot be used for testing (only compiling): >>>> >>>>> diff --git a/include/configs/spear3xx_evb.h >>>>> b/include/configs/spear3xx_evb.h >>>>> index 3cd56dc..03a046e 100644 >>>>> --- a/include/configs/spear3xx_evb.h >>>>> +++ b/include/configs/spear3xx_evb.h >>>>> @@ -54,6 +54,11 @@ >>>>> /* Ethernet driver configuration */ >>>>> #define CONFIG_DW_ALTDESCRIPTOR >>>>> >>>>> +#define CONFIG_PL022_SPI 1 >>>>> +#define CONFIG_SYS_SPI_BASE 0xE0100000 >>>>> +#define CONFIG_SYS_SPI_CLK 83000000 >>>>> +#define CONFIG_CMD_SPI 1 >>>>> + >>>>> #if defined(CONFIG_SPEAR310) >>>>> #define CONFIG_MACB >>>>> #define CONFIG_MACB0_PHY 0x01 >>>> >>>> >>>> >>>> >>>> I know that Vipin was going to add support of spear1340 in mainline. >>>> His patches are currently already submitted and partially acked but I'm >>>> not sure what is the status now... >>>> >>>> Vipin, can you update us? >>>> >>>> Rgds, >>>> Arm >>>> >>>> >>>> >>> >>> >>> >> > > >