[U-Boot] [PATCH] nios2: Set CONFIG_SYS_HZ to 1000 all nios2 boards.

Michal Simek monstr at monstr.eu
Thu Apr 1 09:23:25 CEST 2010


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 <smcnutt at psyent.com>
> ---
>  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. If you do the same 
changes (because of the same reason) in 5 files it points me that 
something is wrong. Please create one generic nios2 file and move there 
these common macros. Look at ppc405/440 which use that style.

Michal


-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian


More information about the U-Boot mailing list