Re: [U-Boot] Refactoring of U-Boot directory structure

2014-07-28 Thread Stephen Warren
On 07/27/2014 09:31 PM, Simon Glass wrote: Hi Stephen, On 13 June 2014 08:18, Masahiro Yamada wrote: Hi Stephen, On Thu, 12 Jun 2014 09:16:14 -0600 Stephen Warren wrote: On 06/11/2014 10:10 PM, Masahiro Yamada wrote: ... Tegra uses different CPU for SPL and Normal U-boot. That's why Teg

Re: [U-Boot] Refactoring of U-Boot directory structure

2014-07-27 Thread Simon Glass
Hi Stephen, On 13 June 2014 08:18, Masahiro Yamada wrote: > Hi Stephen, > > > On Thu, 12 Jun 2014 09:16:14 -0600 > Stephen Warren wrote: > >> On 06/11/2014 10:10 PM, Masahiro Yamada wrote: >> ... >> > Tegra uses different CPU for SPL and Normal U-boot. >> > That's why Tegra directories are spri

Re: [U-Boot] Refactoring of U-Boot directory structure

2014-07-27 Thread Simon Glass
Hi Masahiro, On 12 June 2014 05:10, Masahiro Yamada wrote: > Hi. > > In U-Boot, the directory structure under arch/ is like this > arch/${ARCH}/cpu/${CPU}/${SOC} > > Exception: > - ${CPU} is missing for some architectures such as blackfin, sandbox, etc. > - There are many boards without

Re: [U-Boot] Refactoring of U-Boot directory structure

2014-06-13 Thread Masahiro Yamada
Hi Stephen, On Thu, 12 Jun 2014 09:16:14 -0600 Stephen Warren wrote: > On 06/11/2014 10:10 PM, Masahiro Yamada wrote: > ... > > Tegra uses different CPU for SPL and Normal U-boot. > > That's why Tegra directories are sprinkled under arch/arm/: > > > > arch/arm/cpu/arm720t/tegra-common/ > > ar

Re: [U-Boot] Refactoring of U-Boot directory structure

2014-06-12 Thread Stephen Warren
On 06/11/2014 10:10 PM, Masahiro Yamada wrote: ... > Tegra uses different CPU for SPL and Normal U-boot. > That's why Tegra directories are sprinkled under arch/arm/: > > arch/arm/cpu/arm720t/tegra-common/ > arch/arm/cpu/arm720t/tegra20/ > arch/arm/cpu/arm720t/tegra30/ > arch/arm/cpu/arm720t/tegr

Re: [U-Boot] Refactoring of U-Boot directory structure

2014-06-12 Thread Andreas Bießmann
Hi all, On 06/12/2014 08:32 AM, Masahiro Yamada wrote: > On Thu, 12 Jun 2014 06:41:45 +0200 > Wolfgang Denk wrote: >> In message <20140612131050.963a.aa925...@jp.panasonic.com> you wrote: >>> >>> [1] Do not split the similar SoC family to various directories >>> >>> at91 SoC directory exists und

Re: [U-Boot] Refactoring of U-Boot directory structure

2014-06-11 Thread Masahiro Yamada
Hi Wolfgang, On Thu, 12 Jun 2014 06:41:45 +0200 Wolfgang Denk wrote: > Dear Masahiro, > > In message <20140612131050.963a.aa925...@jp.panasonic.com> you wrote: > > > > [1] Do not split the similar SoC family to various directories > > > > at91 SoC directory exists under arm920t, arm926ejs, a

Re: [U-Boot] Refactoring of U-Boot directory structure

2014-06-11 Thread Wolfgang Denk
Dear Masahiro, In message <20140612131050.963a.aa925...@jp.panasonic.com> you wrote: > > [1] Do not split the similar SoC family to various directories > > at91 SoC directory exists under arm920t, arm926ejs, armv7 directory. To me this actually makes sense, as they are using different CPU core

[U-Boot] Refactoring of U-Boot directory structure

2014-06-11 Thread Masahiro Yamada
Hi. In U-Boot, the directory structure under arch/ is like this arch/${ARCH}/cpu/${CPU}/${SOC} Exception: - ${CPU} is missing for some architectures such as blackfin, sandbox, etc. - There are many boards without ${SOC} My question is, ${SOC} should always depend on ${CPU} ? I think