<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/powerpc/lib, branch v2013.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/powerpc/lib?h=v2013.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/powerpc/lib?h=v2013.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2013-04-10T14:31:02Z</updated>
<entry>
<title>powerpc/lib: fix unsafe register handling in wait_ticks</title>
<updated>2013-04-10T14:31:02Z</updated>
<author>
<name>Mats Kärrman</name>
<email>mats.karrman@tritech.se</email>
</author>
<published>2013-04-09T15:10:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fac150e83f403933e9ffc9d01f858c4a6313874e'/>
<id>urn:sha1:fac150e83f403933e9ffc9d01f858c4a6313874e</id>
<content type='text'>
If watchdog is enabled, the arch/powerpc/lib/ticks.S::wait_ticks() function
calls the function specified by the WATCHDOG_RESET macro.
The wait_ticks function depends on the registers r0, r6 and r7 being
preserved however that is not guaranteed, e.g. if the reset function is a
C function this will probably overwrite r0 and cause an endless loop.

The following patch changes to using r14+r15 instead of r6+r7 (to resemble
what would have been generated by a C compiler) and saves all necessary
registers on the stack.

The patch has been tested on a custom MPC5125 based machine using the 512x
powerpc architecture.

Signed-off-by: Mats Karrman &lt;mats.karrman@tritech.se&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Joakim Tjernlund &lt;joakim.tjernlund@transmode.se&gt;
Tested-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>ppc: Enable generic board support</title>
<updated>2013-03-15T20:14:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-03-11T06:50:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=660c60c4e70c1f8369e7fc4e23b3bc10e01f1199'/>
<id>urn:sha1:660c60c4e70c1f8369e7fc4e23b3bc10e01f1199</id>
<content type='text'>
This enables generic board support so that ppc boards can define
CONFIG_SYS_GENERIC_BOARD.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Introduce generic post-relocation board_r.c</title>
<updated>2013-03-15T20:13:59Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-03-11T14:30:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6f6430d72b007128dd159e5200edb9f576a10bf9'/>
<id>urn:sha1:6f6430d72b007128dd159e5200edb9f576a10bf9</id>
<content type='text'>
This file handles common post-relocation init for boards which use
the generic framework.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Declare watchdog functions in watchdog.h</title>
<updated>2013-03-15T20:13:59Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-03-05T14:39:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a6741bce507151f561250a00f28bcbfb2372ba02'/>
<id>urn:sha1:a6741bce507151f561250a00f28bcbfb2372ba02</id>
<content type='text'>
These functions are only available for powerpc and are not declared in a
header file. We want to use the rest function in two places (board_f and
board_r), so declare the functions in watchdog.h.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Replace __bss_end__ with __bss_end</title>
<updated>2013-03-15T20:13:54Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2013-03-14T06:54:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3929fb0a141530551b3fce15ee08629f80d5ef2a'/>
<id>urn:sha1:3929fb0a141530551b3fce15ee08629f80d5ef2a</id>
<content type='text'>
Note this is a tree-wide change affecting multiple architectures.

At present we use __bss_start, but mostly __bss_end__. This seems
inconsistent and in a number of places __bss_end is used instead.

Change to use __bss_end for the BSS end symbol throughout U-Boot. This
makes it possible to use the asm-generic/sections.h file on all
archs.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Clean up libfdt.h includes</title>
<updated>2013-02-09T03:32:38Z</updated>
<author>
<name>Gerald Van Baren</name>
<email>gvb@unssw.com</email>
</author>
<published>2013-02-08T00:49:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=58864ddc7276ca7403ddbb716da5853638f37519'/>
<id>urn:sha1:58864ddc7276ca7403ddbb716da5853638f37519</id>
<content type='text'>
The libfdt.h file is the definition file for libfdt.  It is unnecessary
to include other fdt header files (the necessary ones are pulled in
by libfdt.h).

Signed-off-by: Gerald Van Baren &lt;gvb@unssw.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>treewide: include libfdt_env.h before fdt.h</title>
<updated>2013-02-08T01:38:55Z</updated>
<author>
<name>Kim Phillips</name>
<email>kim.phillips@freescale.com</email>
</author>
<published>2013-01-16T13:59:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=12e06fe03fdcd9cb9e9805ff78d1027377a1416d'/>
<id>urn:sha1:12e06fe03fdcd9cb9e9805ff78d1027377a1416d</id>
<content type='text'>
and, if including libfdt.h which includes libfdt_env.h in
the correct order, don't include fdt.h before libfdt.h.

this is needed to get the fdt type definitions set from
the project environment before fdt.h uses them.

Signed-off-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
Cc: Jerry Van Baren &lt;gvb.uboot@gmail.com&gt;
</content>
</entry>
<entry>
<title>ppc: Move mpc8220 clocks to arch_global_data</title>
<updated>2013-02-04T14:05:43Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-13T20:48:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1c356135fa1fd2c2f6d775ba1b2f86e4823d8338'/>
<id>urn:sha1:1c356135fa1fd2c2f6d775ba1b2f86e4823d8338</id>
<content type='text'>
Move these fields into arch_global_data and tidy up. The bExtUart field
does not appear to be used, so punt it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>ppc: Move mpc512x clocks to arch_global_data</title>
<updated>2013-02-04T14:05:43Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-13T20:48:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fefb098b187caab34edc72df141125925c9bba62'/>
<id>urn:sha1:fefb098b187caab34edc72df141125925c9bba62</id>
<content type='text'>
Move ips_clk and csb_clk into arch_global_data and tidy up.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>ppc: Move mpc5xxx clocks to arch_global_data</title>
<updated>2013-02-04T14:05:43Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-13T20:48:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b28774966c933780e891998b472528ba0724b8e0'/>
<id>urn:sha1:b28774966c933780e891998b472528ba0724b8e0</id>
<content type='text'>
Move ipb_clk and pci_clk into arch_global_data and tidy up.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
