All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 06/12] SPL: Port SPL framework to powerpc
Date: Tue, 28 Aug 2012 10:21:57 +0200	[thread overview]
Message-ID: <503C7FA5.3000307@denx.de> (raw)
In-Reply-To: <20120827162734.GB24666@bill-the-cat>

On 08/27/2012 06:27 PM, Tom Rini wrote:
> On Mon, Aug 27, 2012 at 12:51:01PM +0200, 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>
> [snip]
>> diff --git a/common/spl/spl.c b/common/spl/spl.c
>> index 61936ee..3eb269e 100644
>> --- a/common/spl/spl.c
>> +++ b/common/spl/spl.c
> [snip]
>> @@ -36,6 +35,9 @@
>>  
>>  DECLARE_GLOBAL_DATA_PTR;
>>  
>> +#ifndef CONFIG_SYS_UBOOT_START
>> +#define CONFIG_SYS_UBOOT_START	CONFIG_SYS_TEXT_BASE
>> +#endif
>>  #ifndef CONFIG_SYS_MONITOR_LEN
>>  #define CONFIG_SYS_MONITOR_LEN	(200 * 1024)
>>  #endif
> [snip]
>> @@ -104,7 +116,7 @@ void spl_parse_image_header(const struct image_header *header)
>>  			header->ih_magic);
>>  		/* Let's assume U-Boot will not be more than 200 KB */
>>  		spl_image.size = CONFIG_SYS_MONITOR_LEN;
>> -		spl_image.entry_point = CONFIG_SYS_TEXT_BASE;
>> +		spl_image.entry_point = CONFIG_SYS_UBOOT_START;
>>  		spl_image.load_addr = CONFIG_SYS_TEXT_BASE;
>>  		spl_image.os = IH_OS_U_BOOT;
>>  		spl_image.name = "U-Boot";
> 
> Can you post this as it's own patch?  I'll pick that up for v5.

Okay. Will do.

Thanks,
Stefan

  reply	other threads:[~2012-08-28  8:21 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-27 10:50 [U-Boot] [PATCH v2 0/12] SPL: Port SPL framework to powerpc Stefan Roese
2012-08-27 10:50 ` [U-Boot] [PATCH v2 01/12] SPL: Fix build problems on ARM with new SPL framework Stefan Roese
2012-08-27 16:30   ` Tom Rini
2012-08-27 10:50 ` [U-Boot] [PATCH v2 02/12] SPL: Use image_get_xxx() functions to access header values Stefan Roese
2012-08-27 16:31   ` Tom Rini
2012-08-27 10:50 ` [U-Boot] [PATCH v2 03/12] SPL: Add option to skip copying of the mkimage header Stefan Roese
2012-08-27 10:50 ` [U-Boot] [PATCH v2 04/12] SPL: Add NOR flash booting support Stefan Roese
2012-08-27 16:45   ` Tom Rini
2012-08-27 17:29   ` Daniel Schwierzeck
2012-08-27 17:59     ` Tom Rini
2012-08-28  8:32       ` Stefan Roese
2012-08-27 10:51 ` [U-Boot] [PATCH v2 05/12] powerpc: Extract EPAPR_MAGIC constants into processor.h Stefan Roese
2012-08-27 10:51 ` [U-Boot] [PATCH v2 06/12] SPL: Port SPL framework to powerpc Stefan Roese
2012-08-27 16:27   ` Tom Rini
2012-08-28  8:21     ` Stefan Roese [this message]
2012-08-27 10:51 ` [U-Boot] [PATCH v2 07/12] env: Extract getenv_f() into separate source file Stefan Roese
2012-08-27 10:51 ` [U-Boot] [PATCH v2 08/12] mpc5200: Add SPL support Stefan Roese
2012-08-27 10:51 ` [U-Boot] [PATCH v2 09/12] mpc5200: Add a3m071 board support Stefan Roese
2012-08-27 10:51 ` [U-Boot] [PATCH v2 10/12] fdt: cmd_fdt: Call fdt_chosen() from "fdt boardsetup" Stefan Roese
2012-08-27 10:51 ` [U-Boot] [PATCH v2 11/12] Makefile: Add possibility to set entry-point for u-boot.img Stefan Roese
2012-08-27 10:51 ` [U-Boot] [PATCH v2 12/12] Makefile: Add target for combined spl/u-boot.bin & u-boot.img Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=503C7FA5.3000307@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.