<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/sparc, branch v2014.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/sparc?h=v2014.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/sparc?h=v2014.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2014-03-10T17:53:36Z</updated>
<entry>
<title>usb: create common header virtual root hub descriptors</title>
<updated>2014-03-10T17:53:36Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@wwwdotorg.org</email>
</author>
<published>2014-02-14T04:15:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eb838e7d84a5211ccca0662297b4dfd1cc29e9df'/>
<id>urn:sha1:eb838e7d84a5211ccca0662297b4dfd1cc29e9df</id>
<content type='text'>
Many USB host controller drivers contain almost identical copies of the
same virtual root hub descriptors. Put these into a common file to avoid
duplication.

Note that there were some very minor differences between the descriptors
in the various files, such as:

- USB 1.0 vs. USB 1.1
- Manufacturer/Device ID
- Max packet size
- String content

I assume these aren't relevant.

Cc: Thomas Lange &lt;thomas@corelatus.se&gt;
Cc: Shinya Kuribayashi &lt;skuribay@pobox.com&gt;
Cc: Gary Jennejohn &lt;garyj@denx.de&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Eric Millbrandt &lt;emillbrandt@coldhaus.com&gt;
Cc: Pierre Aubert &lt;p.aubert@staubli.com&gt;
Cc: Stefan Roese &lt;sr@denx.de&gt;
Cc: Daniel Hellstrom &lt;daniel@gaisler.com&gt;
Cc: Denis Peter &lt;d.peter@mpl.ch&gt;
Cc: Rodolfo Giometti &lt;giometti@linux.it&gt;
Cc: Zhang Wei &lt;wei.zhang@freescale.com&gt;
Cc: Mateusz Zalega &lt;m.zalega@samsung.com&gt;
Cc: Remy Bohmer &lt;linux@bohmer.net&gt;
Cc: Markus Klotzbuecher &lt;mk@denx.de&gt;
Cc: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
Cc: Gary Jennejohn &lt;garyj@denx.de&gt;
Cc: C Nauman &lt;cnauman@diagraph.com&gt;
Cc: David Müller &lt;d.mueller@elsoft.ch&gt;
Cc: Yoshihiro Shimoda &lt;shimoda.yoshihiro@renesas.com&gt;
Cc: Nobuhiro Iwamatsu &lt;iwamatsu@nigauri.org&gt;
Cc: Thomas Abraham &lt;t-abraham@ti.com&gt;
Cc: Tom Rini &lt;trini@ti.com&gt;
Cc: Andrew Murray &lt;amurray@embedded-bits.co.uk&gt;
Cc: Matej Frančeškin &lt;matej.franceskin@comtrade.com&gt;
Cc: Cliff Cai &lt;cliff.cai@analog.com&gt;
Cc: Bryan Wu &lt;cooloney@gmail.com&gt;
Signed-off-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: improve Kbuild speed</title>
<updated>2014-03-07T15:59:06Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-03-05T07:59:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=026f9cf24f3c9d30c47c42bac622a64338caf596'/>
<id>urn:sha1:026f9cf24f3c9d30c47c42bac622a64338caf596</id>
<content type='text'>
Kbuild brought about many advantages for us but a significant
performance regression was reported by Simon Glass.

After some discussions and analysis, it turned out
its main cause is in $(call cc-option,...).

Historically, U-Boot parses all config.mk
(arch/*/config.mk and board/*/config.mk)
every time descending into subdirectories.
That means cc-options are evaluated over and over again.

$(call cc-option,...) is useful but costly.
So we want to evaluate them only in ./Makefile
and spl/Makefile and export compiler flags.

This commit changes the build system as follows:

  - Modify scripts/Makefile.build to not include config.mk
    Instead, add $(PLATFORM_CPPFLAGS) to asflags-y, ccflags-y,
    cppflags-y.

  - Export many variables
    Going forward, Kbuild will not parse config.mk files
    when it descends into subdirectories.
    If we want to set variables in config.mk and use them
    in subdirectories, they must be exported.

    This is the list of variables to get exported:
      PLATFORM_CPPFLAGS
      CPUDIR
      BOARDDIR
      OBJCOPYFLAGS
      LDFLAGS
      LDFLAGS_FINAL
        (used in nand_spl/board/*/*/Makefile)
      CONFIG_STANDALONE_LOAD_ADDR
        (used in examples/standalone/Makefile)
      SYM_PREFIX
        (used in examples/standalone/Makefile)
      RELFLAGS
        (used in examples/standalone/Makefile)

  - Delete CPPFLAGS
    This variable has been replaced with PLATFORM_CPPFLAGS

  - Copy gcclibdir from example/standalone/Makefile
    to arch/sparc/config.mk
    The reference in CONFIG_STANDALONE_LOAD_ADDR must be
    resolved before it is exported.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Reported-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt; [on Sandbox]
Tested-by: Stephen Warren &lt;swarren@nvidia.com&gt; [on Tegra]
</content>
</entry>
<entry>
<title>config.mk: specify the exact path to standalone linker script</title>
<updated>2014-03-07T15:59:06Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-03-05T07:59:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a0a15b441cfd5a192aacfb88a8d062d008488614'/>
<id>urn:sha1:a0a15b441cfd5a192aacfb88a8d062d008488614</id>
<content type='text'>
We want to change the build system to include config.mk
only from ./Makefile and spl/Makefile.
We must prepare for that in this commit.

$(src) is a moving target and not handy for our purpose.
We must replace it with a fixed path.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
</content>
</entry>
<entry>
<title>kbuild: fix CROSS_COMPILE settings in config.mk</title>
<updated>2014-03-04T17:15:30Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-02-28T05:33:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9b6e2c363f2686d6f7bf61fbe58b7591b71d3e8b'/>
<id>urn:sha1:9b6e2c363f2686d6f7bf61fbe58b7591b71d3e8b</id>
<content type='text'>
The syntax
  CROSS_COMIPLE ?= &lt;cross_compiler_prefix&gt;
does not work because config.mk is parsed after
exporting CROSS_COMPILE.

Like Linux Kernel's arch/$(ARCH)/Makefile,
we must write as follows:

  ifeq ($(CROSS_COMPILE),)
  CROSS_COMPILE := &lt;cross_compiler_prefix&gt;
  endif

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
</content>
</entry>
<entry>
<title>kbuild: change out-of-tree build</title>
<updated>2014-02-19T16:07:50Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-02-04T08:24:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9e4140329ee9a787d0f96ac2829d618d47f7973f'/>
<id>urn:sha1:9e4140329ee9a787d0f96ac2829d618d47f7973f</id>
<content type='text'>
This commit changes the working directory
where the build process occurs.

Before this commit, build process occurred under the source
tree for both in-tree and out-of-tree build.

That's why we needed to add $(obj) prefix to all generated
files in makefiles like follows:
  $(obj)u-boot.bin:  $(obj)u-boot

Here, $(obj) is empty for in-tree build, whereas it points
to the output directory for out-of-tree build.

And our old build system changes the current working directory
with "make -C &lt;sub-dir&gt;" syntax when descending into the
sub-directories.

On the other hand, Kbuild uses a different idea
to handle out-of-tree build and directory descending.

The build process of Kbuild always occurs under the output tree.
When "O=dir/to/store/output/files" is given, the build system
changes the current working directory to that directory and
restarts the make.

Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj=&lt;sub-dir&gt;"
syntax for descending into sub-directories.
(We can write it like "make $(obj)=&lt;sub-dir&gt;" with a shorthand.)
This means the current working directory is always the top
of the output directory.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Tested-by: Gerhard Sittig &lt;gsi@denx.de&gt;
</content>
</entry>
<entry>
<title>sparc: Correct arch/sparc/cpu/leon3/start.S from SPDX conversion</title>
<updated>2013-11-25T15:41:55Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@ti.com</email>
</author>
<published>2013-11-18T13:31:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e8a8bab52c98950a4befa24526e8ffeb1b3f1c31'/>
<id>urn:sha1:e8a8bab52c98950a4befa24526e8ffeb1b3f1c31</id>
<content type='text'>
The SPDX tag conversion ate part of this file, put things back to the
way they should be.

Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>include: delete include/linux/config.h</title>
<updated>2013-11-08T20:25:13Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2013-10-07T07:04:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=643aae1406c93ddc64fcf8c136b47cdffd9c8ccd'/>
<id>urn:sha1:643aae1406c93ddc64fcf8c136b47cdffd9c8ccd</id>
<content type='text'>
Linux Kernel abolished include/linux/config.h long time ago.
(around version v2.6.18..v2.6.19)

We don't need to provide Linux copatibility any more.

This commit deletes include/linux/config.h
and fixes source files not to include this.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
</content>
</entry>
<entry>
<title>sparc: include config.h to start.S</title>
<updated>2013-11-08T14:38:24Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2013-10-21T01:19:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=76512e0d8484c7081dad78331347b87d8656e25f'/>
<id>urn:sha1:76512e0d8484c7081dad78331347b87d8656e25f</id>
<content type='text'>
arch/sparc/cpu/leon3/start.S requires CONFIG_SYS_SPARC_NWINDOES
to be defined:

  #ifndef CONFIG_SYS_SPARC_NWINDOWS
  #error Must define number of SPARC register windows, default is 8
  #endif

But it missed to include &lt;config.h&gt;, which always ended up in compile error.

This commit fixes this problem.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: Daniel Hellstrom &lt;daniel@gaisler.com&gt;
</content>
</entry>
<entry>
<title>sparc: convert makefiles to Kbuild style</title>
<updated>2013-10-31T17:26:45Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2013-10-21T02:53:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=774b7d5ba9a812c4c41361a8a20a14ae5c287b99'/>
<id>urn:sha1:774b7d5ba9a812c4c41361a8a20a14ae5c287b99</id>
<content type='text'>
Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: Daniel Hellstrom &lt;daniel@gaisler.com&gt;
</content>
</entry>
<entry>
<title>sparc: fix a link error</title>
<updated>2013-10-31T17:26:44Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2013-10-21T02:53:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9f414a3ab1537ed52b57a63723ff07661f6cbae1'/>
<id>urn:sha1:9f414a3ab1537ed52b57a63723ff07661f6cbae1</id>
<content type='text'>
Before this commit, arch/sparc/lib/Makefile used
both COBJS and COBJS-y.
And it missed to add COBJS-y into OBJS.
This means bootm.o was never compiled even if
CONFIG_CMD_BOOTM=y

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: Daniel Hellstrom &lt;daniel@gaisler.com&gt;
</content>
</entry>
</feed>
