public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] ARM: omap3: add support to Technexion twister board
Date: Wed, 23 Nov 2011 15:22:09 +0100	[thread overview]
Message-ID: <4ECD0191.4050208@denx.de> (raw)
In-Reply-To: <4ECCF970.6040605@compulab.co.il>

On 23/11/2011 14:47, Igor Grinberg wrote:
>> +# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
> 
> Postal address is subject to change, I'd prefer to not have it
> inside the source code files.

Agree, I will remove it. I think the issue was already raised, I admit I
have not yet completely the thread.

>> +clean:
>> +	rm -f $(OBJS)
>> +
>> +distclean:	clean
>> +	rm -f $(LIB) core *.bak $(obj).depend
> 
> clean and distclean should be removed.

Right, I have copied from a worng file.

>> +
>> +	gpio_request(CONFIG_OMAP_EHCI_PHY1_RESET, "USB_PHY1_RESET");
>> +	gpio_direction_output(CONFIG_OMAP_EHCI_PHY1_RESET, 1);
> 
> CONFIG_OMAP_EHCI_PHY1_RESET_GPIO

Ok

>> +/*
>> + * Routine: misc_init_r
>> + * Description: Init i2c, ethernet, etc... (done here so udelay works)
>> + */
> 
> Comment is wrong.

Completely, it makes no sense - I will drop it

>> +#endif
>> +#if defined(CONFIG_SMC911X)
>> +	/* init cs for extern lan */
>> +	writel(NET_GPMC_CONFIG1, &gpmc_cfg->cs[5].config1);
>> +	writel(NET_GPMC_CONFIG2, &gpmc_cfg->cs[5].config2);
>> +	writel(NET_GPMC_CONFIG3, &gpmc_cfg->cs[5].config3);
>> +	writel(NET_GPMC_CONFIG4, &gpmc_cfg->cs[5].config4);
>> +	writel(NET_GPMC_CONFIG5, &gpmc_cfg->cs[5].config5);
>> +	writel(NET_GPMC_CONFIG6, &gpmc_cfg->cs[5].config6);
>> +	writel(NET_GPMC_CONFIG7, &gpmc_cfg->cs[5].config7);
> 
> There is an enable_gpmc_cs_config() function in
> /arch/arm/cpu/armv7/omap3/mem.c
> can't it be used?

Yes, now that I know there is such as function - thanks !

>> +	MUX_VAL(CP(D2D_MBUSFLAG),	(IEN  | PTD | DIS | M0)) \
>> +	MUX_VAL(CP(D2D_SBUSFLAG),	(IEN  | PTD | DIS | M0)) \
> 
> You have spaces for indentation in multiple places above.
> Please, check.

Ok, I will check it.

>> +#define CONFIG_AUTO_COMPLETE
> 
> This one is present in your common file.

I drop from here, I will let it in the common file.

> 
>> +
>> +/*
>> + * Miscellaneous configurable options
>> + */
>> +#define V_PROMPT			"twister => "
>> +#define CONFIG_SYS_PROMPT		V_PROMPT
> 
> Can this also be inlined?

Yes, of course.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2011-11-23 14:22 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-23  9:26 [U-Boot] Adding support to Technexion TAM3517 SOM Stefano Babic
2011-11-23  9:26 ` [U-Boot] [PATCH 1/2] ARM: omap3: added common configuration for Technexion TAM3517 Stefano Babic
2011-11-23 12:44   ` Igor Grinberg
2011-11-23 13:08     ` Stefano Babic
2011-11-23 16:11     ` Wolfgang Denk
2011-11-23 16:29       ` Igor Grinberg
2011-11-23 16:21   ` Wolfgang Denk
2011-11-24  2:47     ` Tom Rini
2011-11-24  9:07     ` Stefano Babic
2011-11-24 12:07       ` Wolfgang Denk
2011-12-01  9:56   ` [U-Boot] [PATCH V3 " Stefano Babic
2011-12-01  9:56     ` [U-Boot] [PATCH V3 2/2] ARM: omap3: add support to Technexion twister board Stefano Babic
2012-01-14  8:47       ` Albert ARIBAUD
2012-01-14  9:48         ` Stefano Babic
2012-01-14 10:06           ` Albert ARIBAUD
2012-01-14 10:15             ` Stefano Babic
2012-01-14 10:22               ` Albert ARIBAUD
2012-01-14 14:25         ` Tom Rini
2012-01-14 15:05           ` Stefano Babic
2011-12-05 23:31     ` [U-Boot] [PATCH V3 1/2] ARM: omap3: added common configuration for Technexion TAM3517 Tom Rini
2011-11-23  9:26 ` [U-Boot] [PATCH 2/2] ARM: omap3: add support to Technexion twister board Stefano Babic
2011-11-23 13:47   ` Igor Grinberg
2011-11-23 14:22     ` Stefano Babic [this message]
2011-11-23 14:18   ` Igor Grinberg
2011-11-23 14:41     ` Stefano Babic
2011-11-23 15:20       ` Igor Grinberg
2011-11-23 16:27   ` Wolfgang Denk
     [not found] ` <20111124145753.04084d1b@myhost>
2011-11-24  8:05   ` [U-Boot] Adding support to Technexion TAM3517 SOM Stefano Babic
2011-11-24 12:04     ` Wolfgang Denk
2011-11-24 12:30       ` Stefano Babic
2011-11-24 15:19   ` Stefano Babic
2011-11-25  3:25     ` Tapani Utriainen
2011-11-25  7:35       ` Stefano Babic
2011-11-24 15:44 ` [U-Boot] [PATCH V2 1/2] ARM: omap3: added common configuration for Technexion TAM3517 Stefano Babic
2011-11-24 15:44   ` [U-Boot] [PATCH V2 2/2] ARM: omap3: add support to Technexion twister board Stefano Babic
2011-11-24 20:40     ` Wolfgang Denk
2011-11-29 23:18     ` Tom Rini
2011-11-30  8:53       ` Stefano Babic
2011-12-01 11:33         ` Tapani Utriainen
2011-12-01 14:40           ` Wolfgang Denk
2011-11-24 20:43   ` [U-Boot] [PATCH V2 1/2] ARM: omap3: added common configuration for Technexion TAM3517 Wolfgang Denk
2011-11-24 22:42     ` stefano babic

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=4ECD0191.4050208@denx.de \
    --to=sbabic@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox