Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-11 Thread Simon Glass
HI Stefan, On 10 December 2015 at 22:54, Stefan Roese wrote: > > Hi Simon, > > > On 11.12.2015 05:45, Stefan Roese wrote: >> >> Hi Simon, >> >> On 10.12.2015 16:36, Simon Glass wrote: >>> >>> Hi Stefan, >>> >>> On 9 December 2015 at 23:58, Stefan Roese wrote: Hi Simon, O

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-10 Thread Stefan Roese
Hi Simon, On 11.12.2015 05:45, Stefan Roese wrote: Hi Simon, On 10.12.2015 16:36, Simon Glass wrote: Hi Stefan, On 9 December 2015 at 23:58, Stefan Roese wrote: Hi Simon, On 08.12.2015 03:46, Simon Glass wrote: Hi Stefan, On 4 December 2015 at 00:45, Stefan Roese wrote: Hi Simon, O

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-10 Thread Stefan Roese
Hi Simon, On 10.12.2015 16:36, Simon Glass wrote: Hi Stefan, On 9 December 2015 at 23:58, Stefan Roese wrote: Hi Simon, On 08.12.2015 03:46, Simon Glass wrote: Hi Stefan, On 4 December 2015 at 00:45, Stefan Roese wrote: Hi Simon, On 03.12.2015 18:21, Simon Glass wrote: Hi Stefan,

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-10 Thread Simon Glass
Hi Stefan, On 9 December 2015 at 23:58, Stefan Roese wrote: > Hi Simon, > > > On 08.12.2015 03:46, Simon Glass wrote: >> >> Hi Stefan, >> >> On 4 December 2015 at 00:45, Stefan Roese wrote: >>> >>> Hi Simon, >>> >>> On 03.12.2015 18:21, Simon Glass wrote: Hi Stefan, On 3 Dece

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-09 Thread Stefan Roese
Hi Simon, On 08.12.2015 03:46, Simon Glass wrote: Hi Stefan, On 4 December 2015 at 00:45, Stefan Roese wrote: Hi Simon, On 03.12.2015 18:21, Simon Glass wrote: Hi Stefan, On 3 December 2015 at 04:31, Stefan Roese wrote: Hi Simon, On 02.12.2015 18:45, Simon Glass wrote: Hi Stefan, On

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-07 Thread Simon Glass
Hi Stefan, On 4 December 2015 at 00:45, Stefan Roese wrote: > Hi Simon, > > On 03.12.2015 18:21, Simon Glass wrote: >> Hi Stefan, >> >> On 3 December 2015 at 04:31, Stefan Roese wrote: >>> >>> Hi Simon, >>> >>> On 02.12.2015 18:45, Simon Glass wrote: Hi Stefan, On 2 December 2015

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-03 Thread Stefan Roese
Hi Simon, On 03.12.2015 18:21, Simon Glass wrote: > Hi Stefan, > > On 3 December 2015 at 04:31, Stefan Roese wrote: >> >> Hi Simon, >> >> On 02.12.2015 18:45, Simon Glass wrote: >>> Hi Stefan, >>> >>> On 2 December 2015 at 10:43, Stefan Roese wrote: Hi Simon, ( Last mail for toni

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-03 Thread Simon Glass
Hi Stefan, On 3 December 2015 at 04:31, Stefan Roese wrote: > > Hi Simon, > > On 02.12.2015 18:45, Simon Glass wrote: > > Hi Stefan, > > > > On 2 December 2015 at 10:43, Stefan Roese wrote: > >> Hi Simon, > >> > >> ( Last mail for tonight - a glass of quite nice red wine is > >> waiting for me .

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-03 Thread Stefan Roese
Hi Simon, On 02.12.2015 18:45, Simon Glass wrote: > Hi Stefan, > > On 2 December 2015 at 10:43, Stefan Roese wrote: >> Hi Simon, >> >> ( Last mail for tonight - a glass of quite nice red wine is >> waiting for me ... ;) ) >> > > That's the only sad thing about me being so many hours behind. Sti

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-02 Thread Simon Glass
Hi Stefan, On 2 December 2015 at 10:43, Stefan Roese wrote: > Hi Simon, > > ( Last mail for tonight - a glass of quite nice red wine is > waiting for me ... ;) ) > That's the only sad thing about me being so many hours behind. Still I can do the same thing with people in Asia I suppose :-) > >

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-02 Thread Stefan Roese
Hi Simon, ( Last mail for tonight - a glass of quite nice red wine is waiting for me ... ;) ) On 02.12.2015 17:53, Simon Glass wrote: Hi Stefan, On 2 December 2015 at 09:00, Stefan Roese wrote: Hi Simon, On 02.12.2015 16:50, Simon Glass wrote: I think it would be better to make it depe

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-02 Thread Simon Glass
Hi Stefan, On 2 December 2015 at 09:00, Stefan Roese wrote: > > Hi Simon, > > On 02.12.2015 16:50, Simon Glass wrote: > > > I think it would be better to make it depend on whether the bit is flipped, rather than whether you are in SPL or not. >>> >>> >>> You simply can't detect if this

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-02 Thread Stefan Roese
Hi Simon, On 02.12.2015 16:50, Simon Glass wrote: I think it would be better to make it depend on whether the bit is flipped, rather than whether you are in SPL or not. You simply can't detect if this "bit is flipped". You just have to know. This is a long lasting ugly thing on some Marvell

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-02 Thread Simon Glass
Hi Stefan, On 2 December 2015 at 08:24, Stefan Roese wrote: > > Hi Simon, > > On 02.12.2015 15:49, Simon Glass wrote: > > Hi Stefan, > > > > On 2 December 2015 at 07:11, Stefan Roese wrote: > >> Hi Simon, > >> > >> On 01.12.2015 21:02, Simon Glass wrote: > >>> Hi Stefan, > >>> > >>> On 30 Novemb

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-02 Thread Stefan Roese
Hi Simon, On 02.12.2015 15:49, Simon Glass wrote: > Hi Stefan, > > On 2 December 2015 at 07:11, Stefan Roese wrote: >> Hi Simon, >> >> On 01.12.2015 21:02, Simon Glass wrote: >>> Hi Stefan, >>> >>> On 30 November 2015 at 23:05, Stefan Roese wrote: Hi Simon, On 01.12.2015 00:

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-02 Thread Simon Glass
Hi Stefan, On 2 December 2015 at 07:11, Stefan Roese wrote: > Hi Simon, > > On 01.12.2015 21:02, Simon Glass wrote: >> Hi Stefan, >> >> On 30 November 2015 at 23:05, Stefan Roese wrote: >>> Hi Simon, >>> >>> >>> On 01.12.2015 00:17, Simon Glass wrote: Hi Stefan, On 29 Novembe

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-02 Thread Stefan Roese
Hi Simon, On 01.12.2015 21:02, Simon Glass wrote: > Hi Stefan, > > On 30 November 2015 at 23:05, Stefan Roese wrote: >> Hi Simon, >> >> >> On 01.12.2015 00:17, Simon Glass wrote: >>> >>> Hi Stefan, >>> >>> On 29 November 2015 at 23:52, Stefan Roese wrote: Hi Simon, On 27.11.

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-01 Thread Simon Glass
Hi Stefan, On 30 November 2015 at 23:05, Stefan Roese wrote: > Hi Simon, > > > On 01.12.2015 00:17, Simon Glass wrote: >> >> Hi Stefan, >> >> On 29 November 2015 at 23:52, Stefan Roese wrote: >>> >>> Hi Simon, >>> >>> On 27.11.2015 19:36, Simon Glass wrote: On 27 November 2015 at 02:22

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-11-30 Thread Stefan Roese
Hi Simon, On 01.12.2015 00:17, Simon Glass wrote: Hi Stefan, On 29 November 2015 at 23:52, Stefan Roese wrote: Hi Simon, On 27.11.2015 19:36, Simon Glass wrote: On 27 November 2015 at 02:22, Stefan Roese wrote: This patch adds the additional platform_translate_address() call to dev_get_ad

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-11-30 Thread Simon Glass
Hi Stefan, On 29 November 2015 at 23:52, Stefan Roese wrote: > Hi Simon, > > On 27.11.2015 19:36, Simon Glass wrote: >> On 27 November 2015 at 02:22, Stefan Roese wrote: >>> This patch adds the additional platform_translate_address() call to >>> dev_get_addr(). A weak default with a 1-to-1 trans

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-11-29 Thread Stefan Roese
Hi Simon, On 27.11.2015 19:36, Simon Glass wrote: > On 27 November 2015 at 02:22, Stefan Roese wrote: >> This patch adds the additional platform_translate_address() call to >> dev_get_addr(). A weak default with a 1-to-1 translation is also >> provided. Platforms that need a special address trans

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-11-27 Thread Simon Glass
Hi, On 27 November 2015 at 02:22, Stefan Roese wrote: > This patch adds the additional platform_translate_address() call to > dev_get_addr(). A weak default with a 1-to-1 translation is also > provided. Platforms that need a special address translation can > overwrite this function. > > Here the

[U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-11-27 Thread Stefan Roese
This patch adds the additional platform_translate_address() call to dev_get_addr(). A weak default with a 1-to-1 translation is also provided. Platforms that need a special address translation can overwrite this function. Here the explanation, why this is needed for MVEBU: When using DM with DT a