From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott McNutt Date: Thu, 01 Apr 2010 07:46:37 -0400 Subject: [U-Boot] [PATCH] nios2: Set CONFIG_SYS_HZ to 1000 all nios2 boards. In-Reply-To: <4BB449ED.9080208@monstr.eu> References: <1269997231-16081-1-git-send-email-smcnutt@psyent.com> <4BB449ED.9080208@monstr.eu> Message-ID: <4BB4879D.9050306@psyent.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Michal Simek wrote: > Scott McNutt wrote: >> CONFIG_SYS_HZ was being calculated (incorrectly) in nios2 >> configuration >> headers. Updated comments to accurately describe timebase macros. >> >> Signed-off-by: Scott McNutt >> --- >> include/configs/EP1C20.h | 14 ++++++++------ >> include/configs/EP1S10.h | 14 ++++++++------ >> include/configs/EP1S40.h | 14 ++++++++------ >> include/configs/PCI5441.h | 14 ++++++++------ >> include/configs/PK1C20.h | 14 ++++++++------ >> 5 files changed, 40 insertions(+), 30 deletions(-) > > This is the next "nice" patch around altera boards. Agreed. > If you do the same > changes (because of the same reason) in 5 files it points me that > something is wrong. IMO, it is inefficient, not wrong. But only because each of these boards worked fine ... until some things changed externally ... that required a common resolution. > Please create one generic nios2 file and move there > these common macros. Look at ppc405/440 which use that style. It would indeed be more efficient -- perhaps a common header for the Altera boards when time permits. Regards, --Scott