public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mathieu Poirier <mathieu.poirier@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 01/11] snowball: Add support for ux500 based snowball board
Date: Mon, 18 Jun 2012 16:16:07 -0600	[thread overview]
Message-ID: <4FDFA8A7.6050305@linaro.org> (raw)
In-Reply-To: <20120618175933.GC22301@bill-the-cat>

On 12-06-18 11:59 AM, Tom Rini wrote:
> On Mon, Jun 18, 2012 at 10:35:34AM -0600, mathieu.poirier at linaro.org wrote:
> 
> [snip]
>> diff --git a/include/configs/snowball.h b/include/configs/snowball.h
>> new file mode 100644
>> index 0000000..845db29
>> --- /dev/null
>> +++ b/include/configs/snowball.h
>> @@ -0,0 +1,274 @@
>> +/*
>> + * Copyright (C) ST-Ericsson SA 2009
>> + *
>> + * See file CREDITS for list of people who contributed to this
>> + * project.
>> + *
>> + * This program is free software; you can redistribute it and/or
>> + * modify it under the terms of the GNU General Public License as
>> + * published by the Free Software Foundation; either version 2 of
>> + * the License, or (at your option) any later version.
>> + *
>> + * This program is distributed in the hope that it will be useful,
>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> + * GNU General Public License for more details.
>> + *
>> + * You should have received a copy of the GNU General Public License
>> + * along with this program; if not, write to the Free Software
>> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
>> + * MA 02111-1307 USA
>> + */
>> +
>> +#ifndef __CONFIG_H
>> +#define __CONFIG_H
>> +
>> +/*
>> + * #define DEBUG 1
>> + */
>> +
>> +#define  CONFIG_SKIP_LOWLEVEL_INIT 1
>> +#define  CONFIG_SNOWBALL 1
>> +#define	 CONFIG_SYS_ICACHE_OFF 1
>> +#define	 CONFIG_SYS_DCACHE_OFF 1
> 
> Whitespace and just do '#define CONFIG_FOO' not '#define CONFIG_FOO 1'.

Weird, checkpatch.pl didn't complain.

> 
> [snip]
>> +#ifdef CONFIG_BOOT_SRAM
>> +#define CONFIG_ENV_SIZE		(32*1024)
>> +#define CONFIG_SYS_MALLOC_LEN	(CONFIG_ENV_SIZE + 64*1024)
>> +#else
>> +#define CONFIG_ENV_SIZE		(128*1024)
>> +#define CONFIG_SYS_MALLOC_LEN	(CONFIG_ENV_SIZE + 256*1024)
>> +#endif
> 
> I assume you build a U-Boot for an initial loader and then a fuller
> U-Boot that runs in DRAM?  This is what SPL is for and I hope you will
> convert at some point :)

This board has a SPL but it is not compiled from this code base.  I will
remove the extra lines.

> 
> [snip]
>> +/*
>> + * Stack sizes
>> + *
>> + * The stack sizes are set up in start.S using the settings below
>> + */
>> +
>> +#ifdef CONFIG_USE_IRQ
>> +#define CONFIG_STACKSIZE_IRQ		(4*1024)	/* IRQ stack */
>> +#define CONFIG_STACKSIZE_FIQ		(4*1024)	/* FIQ stack */
>> +#endif
> 
> I don't believe CONFIG_USE_IRQ was set, so these shouldn't be here.

Correct - IRQs aren't used.

> 

  reply	other threads:[~2012-06-18 22:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-18 16:35 [U-Boot] [PATCH 00/11] support for ST-Ericsson snowball board mathieu.poirier at linaro.org
2012-06-18 16:35 ` [U-Boot] [PATCH 01/11] snowball: Add support for ux500 based " mathieu.poirier at linaro.org
2012-06-18 17:59   ` Tom Rini
2012-06-18 22:16     ` Mathieu Poirier [this message]
2012-06-18 16:35 ` [U-Boot] [PATCH 02/11] u8500: Moving prcmu to cpu directory mathieu.poirier at linaro.org
2012-06-18 16:35 ` [U-Boot] [PATCH 03/11] snowball: Adding architecture dependent initialisation mathieu.poirier at linaro.org
2012-06-18 16:35 ` [U-Boot] [PATCH 04/11] snowball: Adding CPU clock initialisation mathieu.poirier at linaro.org
2012-06-18 16:35 ` [U-Boot] [PATCH 05/11] snowball: Moving to ux500.v2 addess scheme for PRCMU access mathieu.poirier at linaro.org
2012-06-18 16:35 ` [U-Boot] [PATCH 06/11] snowball: applying power to LAN and GBF controllers mathieu.poirier at linaro.org
2012-06-18 16:35 ` [U-Boot] [PATCH 07/11] u8500: Moving processor-specific functions to cpu area mathieu.poirier at linaro.org
2012-06-18 16:35 ` [U-Boot] [PATCH 08/11] u8500: Enabling power to MMC device on AB8500 V2 mathieu.poirier at linaro.org
2012-06-18 16:35 ` [U-Boot] [PATCH 09/11] u8500: Separating mmc config parameters from driver mathieu.poirier at linaro.org
2012-06-18 16:35 ` [U-Boot] [PATCH 10/11] armv7: Adding cpu specific cache managmenent mathieu.poirier at linaro.org
2012-06-18 17:56   ` Tom Rini
2012-06-18 16:35 ` [U-Boot] [PATCH 11/11] snowball: Adding board specific cache cleanup routine mathieu.poirier at linaro.org
  -- strict thread matches above, loose matches on Subject: below --
2012-07-31 18:59 [U-Boot] [PATCH 00/11] Support for ST-Ericsson snowball board mathieu.poirier at linaro.org
2012-07-31 18:59 ` [U-Boot] [PATCH 01/11] snowball: Add support for ux500 based " mathieu.poirier at linaro.org
2012-08-03 14:46   ` Tom Rini
2012-08-03 19:32     ` Mathieu Poirier
2012-08-03 19:45       ` Tom Rini
2012-08-03 15:32   ` Tom Rini
2012-06-18 16:25 [U-Boot] [PATCH 00/11] support for ST-Ericsson " mathieu.poirier at linaro.org
2012-06-18 16:25 ` [U-Boot] [PATCH 01/11] snowball: Add support for ux500 based " mathieu.poirier at linaro.org

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=4FDFA8A7.6050305@linaro.org \
    --to=mathieu.poirier@linaro.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox