All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/7 v6] ARM: Add arm1176 core with S3C6400 SoC
Date: Sat, 9 Aug 2008 12:07:24 +0200	[thread overview]
Message-ID: <20080809100724.GA6905@game.jcrosoft.org> (raw)
In-Reply-To: <20080809095859.16CCE24885@gemini.denx.de>

On 11:58 Sat 09 Aug     , Wolfgang Denk wrote:
> In message <20080809091101.GC18040@game.jcrosoft.org> you wrote:
> > 
> > > +		/*
> > > +		 * for 10 ms clock period @ PCLK with 4 bit divider = 1/2 and
> > > +		 * prescaler = 16. Should be 10390 @33.25MHz and 15625 @ 50 MHz
> > > +		 */
> > > +		timer_load_val = get_PCLK() / PRESCALER * (100 / 4); /* 100s */
> > > +		/*printf("Calculated %lu timer_load_val\n", timer_load_val);*/
> > please remove if not need
> 
> Or even better convert it into a debug() call so it can be enabled
> again for debugging purposes.
> 
> > > +		timers->TCFG1 = (timers->TCFG1 & ~0xf0000) | 0x20000;
> > > +	}
> > > +
> > please add some empty line to be more readable
> 
> No. One empty line os enough here.

please add some empty line to be more readable for the following blocks
> +     /* load value for 10 ms timeout */
> +     lastdec = timers->TCNTB4 = timer_load_val;
> +     /* auto load, manual update of Timer 4 */
> +     timers->TCON = (timers->TCON & ~0x00700000) | TCON_4_AUTO |
> +             TCON_4_UPDATE;
> +     /* auto load, start Timer 4 */
> +     timers->TCON = (timers->TCON & ~0x00700000) | TCON_4_AUTO | COUNT_4_ON;
> +     timestamp = 0;
[snip]


> > > +#define NFADDR           	(ELFIN_NAND_BASE+NFADDR_OFFSET)
> >                  ^^^^^^^^^^^
> > please remove whitesapce
> 
> Not remove, but use TABs vor vertical alignment.
That's my idea

Best Regards,
J.

  reply	other threads:[~2008-08-09 10:07 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-06 19:41 [U-Boot-Users] [PATCH 0/7 v6] SMDK6400 support Guennadi Liakhovetski
2008-08-06 19:42 ` [U-Boot-Users] [PATCH 2/7 v6] nand_spl: Support page-aligned read in nand_load, use chipselect Guennadi Liakhovetski
2008-08-06 22:54   ` Scott Wood
2008-08-07  6:36     ` Guennadi Liakhovetski
2008-08-06 19:42 ` [U-Boot-Users] [PATCH 3/7 v6] ARM: Add arm1176 core with S3C6400 SoC Guennadi Liakhovetski
2008-08-07  6:28   ` Andreas Engel
2008-08-07  6:55     ` Guennadi Liakhovetski
2008-08-07  9:33   ` Jens Gehrlein
2008-08-07  9:51     ` Wolfgang Denk
2008-08-07 10:03       ` Jens Gehrlein
2008-08-07 10:17         ` Wolfgang Denk
2008-08-07 11:03           ` Jens Gehrlein
2008-08-07 11:07             ` Jean-Christophe PLAGNIOL-VILLARD
2008-08-07 10:00   ` Jens Gehrlein
2008-08-07 10:12     ` Guennadi Liakhovetski
2008-08-07 11:12       ` Jens Gehrlein
2008-08-09  9:11   ` Jean-Christophe PLAGNIOL-VILLARD
2008-08-09  9:58     ` [U-Boot] " Wolfgang Denk
2008-08-09 10:07       ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2008-08-11  8:17     ` [U-Boot-Users] " Guennadi Liakhovetski
2008-08-06 19:42 ` [U-Boot-Users] [PATCH 4/7 v6] USB: Add support for OHCI controller on S3C6400 Guennadi Liakhovetski
2008-08-07 15:56   ` Markus Klotzbücher
2008-08-07 15:53     ` Jean-Christophe PLAGNIOL-VILLARD
2008-08-08  9:16       ` Markus Klotzbücher
2008-08-06 19:42 ` [U-Boot-Users] [PATCH 5/7 v6] serial: add S3C64XX serial driver Guennadi Liakhovetski
2008-08-09  9:13   ` Jean-Christophe PLAGNIOL-VILLARD
2008-08-11  8:44     ` Guennadi Liakhovetski
2008-08-11 10:06       ` [U-Boot] " Wolfgang Denk
2008-08-11 10:53         ` Guennadi Liakhovetski
2008-08-11 12:12           ` Wolfgang Denk
2008-08-11 12:43             ` Guennadi Liakhovetski
2008-08-06 19:42 ` [U-Boot-Users] [PATCH 6/7 v6] NAND: add NAND driver for S3C64XX Guennadi Liakhovetski
2008-08-07 22:15   ` Scott Wood
2008-08-06 19:42 ` [U-Boot-Users] [PATCH 7/7 v6] ARM: Add support for S3C6400 based SMDK6400 board Guennadi Liakhovetski
2008-08-09  9:32   ` Jean-Christophe PLAGNIOL-VILLARD

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=20080809100724.GA6905@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --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.