<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/arch/arm/boot, branch tegra</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>ARM: dt: tegra: rename board files to match SoC</title>
<updated>2012-08-04T01:04:54+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2012-06-11T22:25:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1ef8cc928458d72cc312511def9165271f157dc9'/>
<id>1ef8cc928458d72cc312511def9165271f157dc9</id>
<content type='text'>
Most ARM ${board}.dts files are already named ${soc}-${board}.dts. This
change modifies the Tegra board files to be named the same way for
consistency.

Once a related change is made in U-Boot, this will cause both U-Boot and
the kernel to use the same names for the .dts files and SoC identifiers,
thus allowing U-Boot's recently added "soc" and "board" environment
variables to be used to construct the name of Tegra .dtb files, and hence
allow board-generic U-Boot bootcmd scripts to be written.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
(cherry picked from commit 702b0e4f2f2782962aab7d9a0a40ad68770bb1f6)

Conflicts:

	arch/arm/boot/dts/tegra20-paz00.dts
	arch/arm/boot/dts/tegra20-trimslice.dts
	arch/arm/mach-tegra/Makefile.boot

Change-Id: I4ec7605331c996d3aff84fc2fc37bcf06f0aba0b
Reviewed-on: http://git-master/r/110202
Reviewed-by: Simone Willett &lt;swillett@nvidia.com&gt;
Tested-by: Simone Willett &lt;swillett@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most ARM ${board}.dts files are already named ${soc}-${board}.dts. This
change modifies the Tegra board files to be named the same way for
consistency.

Once a related change is made in U-Boot, this will cause both U-Boot and
the kernel to use the same names for the .dts files and SoC identifiers,
thus allowing U-Boot's recently added "soc" and "board" environment
variables to be used to construct the name of Tegra .dtb files, and hence
allow board-generic U-Boot bootcmd scripts to be written.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
(cherry picked from commit 702b0e4f2f2782962aab7d9a0a40ad68770bb1f6)

Conflicts:

	arch/arm/boot/dts/tegra20-paz00.dts
	arch/arm/boot/dts/tegra20-trimslice.dts
	arch/arm/mach-tegra/Makefile.boot

Change-Id: I4ec7605331c996d3aff84fc2fc37bcf06f0aba0b
Reviewed-on: http://git-master/r/110202
Reviewed-by: Simone Willett &lt;swillett@nvidia.com&gt;
Tested-by: Simone Willett &lt;swillett@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm: tegra: whistler: dt: add dts file with minimal info</title>
<updated>2012-08-04T00:57:28+00:00</updated>
<author>
<name>Nitin Kumbhar</name>
<email>nkumbhar@nvidia.com</email>
</author>
<published>2012-06-14T02:00:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ff2c85532acf099a99a063b869c341bc113fc0ec'/>
<id>ff2c85532acf099a99a063b869c341bc113fc0ec</id>
<content type='text'>
Add dts file to enable device tree support on whistler platform.
This currently adds only compatible info to dt.

Bug 1001225

Change-Id: I3023639e817529e6bb18ed5fa92b8c35c12d45b8
Signed-off-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-on: http://git-master/r/116606
GVS: Gerrit_Virtual_Submit
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add dts file to enable device tree support on whistler platform.
This currently adds only compatible info to dt.

Bug 1001225

Change-Id: I3023639e817529e6bb18ed5fa92b8c35c12d45b8
Signed-off-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-on: http://git-master/r/116606
GVS: Gerrit_Virtual_Submit
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm: tegra: enterprise: dt: add dts file with minimal info</title>
<updated>2012-08-04T00:57:20+00:00</updated>
<author>
<name>Nitin Kumbhar</name>
<email>nkumbhar@nvidia.com</email>
</author>
<published>2012-05-16T12:49:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ca43c179c512eb14e56c3eb11412344307948367'/>
<id>ca43c179c512eb14e56c3eb11412344307948367</id>
<content type='text'>
Add dts file to enable device tree support on enterprise platform.
This currently adds only compatible info to dt.

Bug 1001225

Change-Id: I4cc4093062d39baef9871b423840f5f2d01f25e9
Signed-off-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-on: http://git-master/r/116605
GVS: Gerrit_Virtual_Submit
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add dts file to enable device tree support on enterprise platform.
This currently adds only compatible info to dt.

Bug 1001225

Change-Id: I4cc4093062d39baef9871b423840f5f2d01f25e9
Signed-off-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-on: http://git-master/r/116605
GVS: Gerrit_Virtual_Submit
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm/dt: Tegra: Add minimal ventana file</title>
<updated>2012-08-04T00:57:11+00:00</updated>
<author>
<name>Chinmay Kamat</name>
<email>ckamat@nvidia.com</email>
</author>
<published>2012-06-20T21:09:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5b0a5f9b64af08de1e2ce3b93f5b896ddfed93e5'/>
<id>5b0a5f9b64af08de1e2ce3b93f5b896ddfed93e5</id>
<content type='text'>
We will gradually enhance this file as our internal support improves.

Change-Id: I9343a14a89942226b1e3eb8aa0afa8c186c46a9e
Signed-off-by: Chinmay Kamat &lt;ckamat@nvidia.com&gt;
Reviewed-on: http://git-master/r/110201
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We will gradually enhance this file as our internal support improves.

Change-Id: I9343a14a89942226b1e3eb8aa0afa8c186c46a9e
Signed-off-by: Chinmay Kamat &lt;ckamat@nvidia.com&gt;
Reviewed-on: http://git-master/r/110201
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm/dt: Tegra: Add minimal Cardhu file</title>
<updated>2012-08-04T00:57:02+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@nvidia.com</email>
</author>
<published>2012-04-10T01:06:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e1e3e20e168dd473047a695071b338f42a012c82'/>
<id>e1e3e20e168dd473047a695071b338f42a012c82</id>
<content type='text'>
We really just want the /chosen and compatible info for now, and use the
existing board files for the rest of the support. We can gradually
enhance this file as our internal support improves.

Change-Id: If50378c128afb31d0d014c78d9f8f03c86b8d568
Signed-off-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
Reviewed-on: http://git-master/r/95477
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We really just want the /chosen and compatible info for now, and use the
existing board files for the rest of the support. We can gradually
enhance this file as our internal support improves.

Change-Id: If50378c128afb31d0d014c78d9f8f03c86b8d568
Signed-off-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
Reviewed-on: http://git-master/r/95477
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm: tegra: Add ATAG_SERIAL parsing</title>
<updated>2012-08-04T00:50:07+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@nvidia.com</email>
</author>
<published>2011-09-15T00:15:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=18634fbff1f64df29af12a8b2ce335fc27019b27'/>
<id>18634fbff1f64df29af12a8b2ce335fc27019b27</id>
<content type='text'>
Bug 973078

Change-Id: I2860402c887db414717ce313101dc09e8b327f99
Signed-off-by: Chinmay Kamat &lt;ckamat@nvidia.com&gt;
Reviewed-on: http://git-master/r/108699
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug 973078

Change-Id: I2860402c887db414717ce313101dc09e8b327f99
Signed-off-by: Chinmay Kamat &lt;ckamat@nvidia.com&gt;
Reviewed-on: http://git-master/r/108699
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: zImage: prevent constant copy+rebuild of lib1funcs.S</title>
<updated>2012-08-04T00:49:59+00:00</updated>
<author>
<name>Nicolas Pitre</name>
<email>nicolas.pitre@linaro.org</email>
</author>
<published>2011-09-14T04:16:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=639ba3d891a9127d42da84225ed04afec8e66451'/>
<id>639ba3d891a9127d42da84225ed04afec8e66451</id>
<content type='text'>
The rule to copy this file doesn't have to be forced.  However
lib1funcs.[So] have to be listed amongst the targets.

This prevents zImage from being recreated needlessly.

Signed-off-by: Nicolas Pitre &lt;nicolas.pitre@linaro.org&gt;
Tested-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Tested-by: Dave Martin &lt;dave.martin@linaro.org&gt;
Tested-by: Thomas Abraham &lt;thomas.abraham@linaro.org&gt;
Signed-off-by: Chinmay Kamat &lt;ckamat@nvidia.com&gt;

Change-Id: I0ad0d4564835837abf15f0c590e8452bfef1c3a7
Original: 63d15148b6058ab0037343390e8918503ed81968
Reviewed-on: http://git-master/r/108698
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The rule to copy this file doesn't have to be forced.  However
lib1funcs.[So] have to be listed amongst the targets.

This prevents zImage from being recreated needlessly.

Signed-off-by: Nicolas Pitre &lt;nicolas.pitre@linaro.org&gt;
Tested-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Tested-by: Dave Martin &lt;dave.martin@linaro.org&gt;
Tested-by: Thomas Abraham &lt;thomas.abraham@linaro.org&gt;
Signed-off-by: Chinmay Kamat &lt;ckamat@nvidia.com&gt;

Change-Id: I0ad0d4564835837abf15f0c590e8452bfef1c3a7
Original: 63d15148b6058ab0037343390e8918503ed81968
Reviewed-on: http://git-master/r/108698
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: zImage: allow supplementing appended DTB with traditional ATAG data</title>
<updated>2012-08-04T00:49:49+00:00</updated>
<author>
<name>Nicolas Pitre</name>
<email>nicolas.pitre@linaro.org</email>
</author>
<published>2011-09-14T02:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f7d783cc292186266622cfebb552fcf695aefd46'/>
<id>f7d783cc292186266622cfebb552fcf695aefd46</id>
<content type='text'>
Some old bootloaders can't be updated to a device tree capable one,
yet they provide ATAGs with memory configuration, the ramdisk address,
the kernel cmdline string, etc.  To allow a device tree enabled
kernel to be used with such bootloaders, it is necessary to convert those
ATAGs into FDT properties and fold them into the DTB appended to zImage.

Currently the following ATAGs are converted:

	ATAG_CMDLINE
	ATAG_MEM
	ATAG_INITRD2

If the corresponding information already exists in the appended DTB, it
is replaced, otherwise the required node is created to hold it.

The code looks for ATAGs at the location pointed by the value of r2 upon
entry into the zImage code.  If no ATAGs are found there, an attempt at
finding ATAGs at the typical 0x100 offset from start of RAM is made.
Otherwise the DTB is left unchanged.

Thisstarted from an older patch from John Bonesio &lt;bones@secretlab.ca&gt;,
with contributions from David Brown &lt;davidb@codeaurora.org&gt;.

Signed-off-by: Nicolas Pitre &lt;nicolas.pitre@linaro.org&gt;
Tested-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Tested-by: Dave Martin &lt;dave.martin@linaro.org&gt;
Tested-by: Thomas Abraham &lt;thomas.abraham@linaro.org&gt;
Signed-off-by: Chinmay Kamat &lt;ckamat@nvidia.com&gt;

Change-Id: Ifb96adf6976da0f518c9c2cdad6be85f94c8ad1c
Original: b90b9a38251e9c89c34179eccde57411ceb5f1aa
Reviewed-on: http://git-master/r/107423
Reviewed-by: Simone Willett &lt;swillett@nvidia.com&gt;
Tested-by: Simone Willett &lt;swillett@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some old bootloaders can't be updated to a device tree capable one,
yet they provide ATAGs with memory configuration, the ramdisk address,
the kernel cmdline string, etc.  To allow a device tree enabled
kernel to be used with such bootloaders, it is necessary to convert those
ATAGs into FDT properties and fold them into the DTB appended to zImage.

Currently the following ATAGs are converted:

	ATAG_CMDLINE
	ATAG_MEM
	ATAG_INITRD2

If the corresponding information already exists in the appended DTB, it
is replaced, otherwise the required node is created to hold it.

The code looks for ATAGs at the location pointed by the value of r2 upon
entry into the zImage code.  If no ATAGs are found there, an attempt at
finding ATAGs at the typical 0x100 offset from start of RAM is made.
Otherwise the DTB is left unchanged.

Thisstarted from an older patch from John Bonesio &lt;bones@secretlab.ca&gt;,
with contributions from David Brown &lt;davidb@codeaurora.org&gt;.

Signed-off-by: Nicolas Pitre &lt;nicolas.pitre@linaro.org&gt;
Tested-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Tested-by: Dave Martin &lt;dave.martin@linaro.org&gt;
Tested-by: Thomas Abraham &lt;thomas.abraham@linaro.org&gt;
Signed-off-by: Chinmay Kamat &lt;ckamat@nvidia.com&gt;

Change-Id: Ifb96adf6976da0f518c9c2cdad6be85f94c8ad1c
Original: b90b9a38251e9c89c34179eccde57411ceb5f1aa
Reviewed-on: http://git-master/r/107423
Reviewed-by: Simone Willett &lt;swillett@nvidia.com&gt;
Tested-by: Simone Willett &lt;swillett@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: zImage: gather some string functions into string.c</title>
<updated>2012-08-04T00:43:04+00:00</updated>
<author>
<name>Nicolas Pitre</name>
<email>nicolas.pitre@linaro.org</email>
</author>
<published>2011-09-14T01:42:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c00192e6a9cddb848b5cc8944893e1577085c897'/>
<id>c00192e6a9cddb848b5cc8944893e1577085c897</id>
<content type='text'>
This is a small subset of string functions needed by commits to come.
Except for memcpy() which is unchanged from its original location, their
implementation is meant to be small, and -Os is enforced to prevent gcc
from doing pointless loop unrolling.

Signed-off-by: Nicolas Pitre &lt;nicolas.pitre@linaro.org&gt;
Tested-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Tested-by: Dave Martin &lt;dave.martin@linaro.org&gt;
Tested-by: Thomas Abraham &lt;thomas.abraham@linaro.org&gt;
Signed-off-by: Chinmay Kamat &lt;ckamat@nvidia.com&gt;

Change-Id: Ib6fd21beb8ee8804e472fb4ff5eb1cbea2b8e877
Original: df4879fa2603fbf0804a80f9f146ef9023dd621f
Reviewed-on: http://git-master/r/107424
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a small subset of string functions needed by commits to come.
Except for memcpy() which is unchanged from its original location, their
implementation is meant to be small, and -Os is enforced to prevent gcc
from doing pointless loop unrolling.

Signed-off-by: Nicolas Pitre &lt;nicolas.pitre@linaro.org&gt;
Tested-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Tested-by: Dave Martin &lt;dave.martin@linaro.org&gt;
Tested-by: Thomas Abraham &lt;thomas.abraham@linaro.org&gt;
Signed-off-by: Chinmay Kamat &lt;ckamat@nvidia.com&gt;

Change-Id: Ib6fd21beb8ee8804e472fb4ff5eb1cbea2b8e877
Original: df4879fa2603fbf0804a80f9f146ef9023dd621f
Reviewed-on: http://git-master/r/107424
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: zImage: make sure appended DTB doesn't get overwritten by kernel .bss</title>
<updated>2012-08-04T00:43:02+00:00</updated>
<author>
<name>Nicolas Pitre</name>
<email>nicolas.pitre@linaro.org</email>
</author>
<published>2011-06-12T05:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c0254013515dc7786bdbb344a3ec1ef0cc8a6410'/>
<id>c0254013515dc7786bdbb344a3ec1ef0cc8a6410</id>
<content type='text'>
The appended DTB gets relocated with the decompressor code to get out
of the way of the decompressed kernel.  However the kernel's .bss section
may be larger than the relocated code and data, and then the DTB gets
overwritten.  Let's make sure the relocation takes care of moving zImage
far enough so no such conflict with .bss occurs.

Thanks to Tony Lindgren &lt;tony@atomide.com&gt; for figuring out this issue.

While at it, let's clean up the code a bit so that the wont_overwrite
symbol is used while determining if a conflict exists, making the above
change more precise as well as eliminating some ARM/THUMB alternates.

Signed-off-by: Nicolas Pitre &lt;nicolas.pitre@linaro.org&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Tested-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Tested-by: Dave Martin &lt;dave.martin@linaro.org&gt;
Tested-by: Thomas Abraham &lt;thomas.abraham@linaro.org&gt;
Signed-off-by: Chinmay Kamat &lt;ckamat@nvidia.com&gt;

Change-Id: I1590dcbb9789f20d4c56a1e1f7c40177acaa8a2d
Original: 5ffb04f6690d71fab241b3562ebf52b893ac4ff1
Reviewed-on: http://git-master/r/107767
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The appended DTB gets relocated with the decompressor code to get out
of the way of the decompressed kernel.  However the kernel's .bss section
may be larger than the relocated code and data, and then the DTB gets
overwritten.  Let's make sure the relocation takes care of moving zImage
far enough so no such conflict with .bss occurs.

Thanks to Tony Lindgren &lt;tony@atomide.com&gt; for figuring out this issue.

While at it, let's clean up the code a bit so that the wont_overwrite
symbol is used while determining if a conflict exists, making the above
change more precise as well as eliminating some ARM/THUMB alternates.

Signed-off-by: Nicolas Pitre &lt;nicolas.pitre@linaro.org&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Tested-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Tested-by: Dave Martin &lt;dave.martin@linaro.org&gt;
Tested-by: Thomas Abraham &lt;thomas.abraham@linaro.org&gt;
Signed-off-by: Chinmay Kamat &lt;ckamat@nvidia.com&gt;

Change-Id: I1590dcbb9789f20d4c56a1e1f7c40177acaa8a2d
Original: 5ffb04f6690d71fab241b3562ebf52b893ac4ff1
Reviewed-on: http://git-master/r/107767
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Nitin Kumbhar &lt;nkumbhar@nvidia.com&gt;
Reviewed-by: Dan Willemsen &lt;dwillemsen@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
