[U-Boot] [PATCH v6] spi: pl022_spi: Add support for ARM PL022 spi controller

Vipin Kumar
2013-10-04T06:27:27Z

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<vipin.kumar@st.com> 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
>>> <armando.visconti@st.com> wrote:
>>>>
>>>> On 06/12/2013 05:29 PM, Jagan Teki wrote:
>>>>>
>>>>>
>>>>> On Wed, Jun 12, 2013 at 8:49 PM, Armando Visconti
>>>>> <armando.visconti@st.com> 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
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>
>
>