[U-Boot] [PATCH v3 2/8] SPL: Port SPL framework to powerpc

Tom Rini
2012-09-28T23:32:30Z

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/28/12 16:13, Scott Wood wrote:
> On 09/26/2012 04:01:08 AM, Stefan Roese wrote:
>> This patch enables the SPL framework to be used on powerpc
>> platforms and not only ARM.
>>
>> Signed-off-by: Stefan Roese <sr@denx.de> --- Changes in v2: -
>> Rebased on Tom's SPL framework patches v4 - Add option to skip
>> copying of the mkimage header
>>
>> arch/powerpc/lib/Makefile | 1 + arch/powerpc/lib/spl.c | 42
>> ++++++++++++++++++++++++++++++++++++++++++ common/spl/spl.c
>> | 10 ++++++++++ 3 files changed, 53 insertions(+) create mode
>> 100644 arch/powerpc/lib/spl.c
>>
>> diff --git a/arch/powerpc/lib/Makefile
>> b/arch/powerpc/lib/Makefile index 965f9ea..9bcbdde 100644 ---
>> a/arch/powerpc/lib/Makefile +++ b/arch/powerpc/lib/Makefile @@
>> -50,6 +50,7 @@ COBJS-y += cache.o COBJS-y += extable.o
>> COBJS-y += interrupts.o COBJS-$(CONFIG_CMD_KGDB) += kgdb.o
>> +COBJS-$(CONFIG_SPL_FRAMEWORK) += spl.o COBJS-y += time.o
>
> Won't this build spl.o into the main U-Boot as well?

True and probably uncaught as PowerPC uses -ffunction-sections /
- --gc-sections on main U-Boot.

- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBAgAGBQJQZjOOAAoJENk4IS6UOR1We/UQAKmSBzEcGwjNzG9LqZhrRATj
8eMp/mep10saPAoaf8iUjqn+gWtAuvTdP9a0Nd4wkHUFtlvh7PPx6SQ1PNTf1V+z
VkOaXxplN52p0Ba/PKKEU4RFd9kdtxLrH+HM8mzz6ktzvwFT8lnCGY//C0OW8vk5
FLTeZafyde1OY5igGA2t/+Lu4CM3Dl1o7wMqcy7nNTucAMGgBjvZueOF7SWFAT7F
4mjxjIq9Co1NOIE9kCR4nmoJpRgvLZ2nBZpv2NDkXjKEr/6G2CSgDxBUG+Q2nGFG
HaBQv4yDfBEPCjUKWm+pq8BMYg/M+WuJZ02NNbGG09PeB8C+a26oYiy9KEPA+i5F
tTaBqgTNGIayqsYtOhQXEQntMudP1FTwCxQ2QMXuu3K5kY+foi5V/HdZ3Iy3Wl9W
WigE2+FBRfMPlvZT+s7qQ54UVOJgylRvld7e0jt/kcwTMF8WG3CauzqzgMbADz9C
Fr7J+cqij0JMCvE2E3/1Q8N4WIcnwBlM7R7TXVzd8cb3u/WHoLGVwhgLWGz3dg/E
/Ko+k4S/E0f3NWRX9pd1ygEveYNi4qVf8vWIaNMetjJputhHsToPtY8iid0TgOxt
oXGlOtOxHHkr5YFV3GIO6gmDWBzwTYrOCS9clrWZUq1fTgKxbsIythoOg0YIhA+U
Olz0yRI+lzUOkTOV1ZGc
=VYvH
-----END PGP SIGNATURE-----