public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/5] nios2: add Altera EP2C35 board
Date: Thu, 01 Apr 2010 09:17:16 +0200	[thread overview]
Message-ID: <4BB4487C.6030708@monstr.eu> (raw)
In-Reply-To: <1269996650-20816-2-git-send-email-thomas@wytron.com.tw>

Thomas Chou wrote:
> This patch supports the Altera CycloneII Nios dev board using
> the example FPGA design at http://nioswiki.com/Linux.
> 
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
>  MAINTAINERS                          |    1 +
>  MAKEALL                              |    1 +
>  Makefile                             |    6 +
>  board/altera/nios2-generic/2c35_cf.h |  757 ++++++++++++++++++++++++++++++++++
>  include/configs/EP2C35.h             |  372 +++++++++++++++++
>  5 files changed, 1137 insertions(+), 0 deletions(-)
>  create mode 100644 board/altera/nios2-generic/2c35_cf.h
>  create mode 100644 include/configs/EP2C35.h

I am strongly against this style of adding any specific nios board to 
U-BOOT.

1. I am not convinced that all information from 2c35_cf.h are important 
for U-BOOT.
What connection has for example "#define KERNEL_REGION_BASE 0xc0000000"?
or others.
+#define PLL_COMPONENT_TYPE altera_avalon_pll
+#define PLL_COMPONENT_NAME pll
+#define PLL_BASE 0x1000020
+#define PLL_SPAN 32

It is the same situation as we solved for Xilinx boards.
Create generic nios board and then generate only parameters which are 
necessary for U-BOOT itself.
For example I am using only one microblaze generic board to cover all 
microblaze boards.
Look at Microblaze or ppc405/440 solution. board/xilinx is good start 
for you.

Wolfgang: Please reject these patches.

Thanks,
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

  parent reply	other threads:[~2010-04-01  7:17 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-31  0:50 [U-Boot] [PATCH 1/5] nios2: add nios2-generic board Thomas Chou
2010-03-31  0:50 ` [U-Boot] [PATCH 2/5] nios2: add Altera EP2C35 board Thomas Chou
2010-03-31  4:03   ` [U-Boot] [PATCH 2/5 v2] " Thomas Chou
2010-04-01 12:26     ` Thomas Chou
2010-04-05  5:48     ` Ben Warren
2010-03-31  4:03   ` [U-Boot] [PATCH 3/5 v2] nios2: add Altera EP3C120 board Thomas Chou
2010-04-02  1:33     ` [U-Boot] [PATCH 3/5 v3] " Thomas Chou
2010-04-02  6:57       ` Michal Simek
2010-04-15 14:40       ` Thomas Chou
2010-03-31  4:03   ` [U-Boot] [PATCH 4/5 v2] nios2: add Altera NEEK board Thomas Chou
2010-04-01 12:26     ` Thomas Chou
2010-04-05  5:50     ` Ben Warren
2010-04-01  7:17   ` Michal Simek [this message]
2010-04-01 12:24     ` [U-Boot] [PATCH 2/5] nios2: add Altera EP2C35 board Thomas Chou
2010-03-31  0:50 ` [U-Boot] [PATCH 3/5] nios2: add Altera EP3C120 board Thomas Chou
2010-03-31  0:50 ` [U-Boot] [PATCH 4/5] nios2: add Altera NEEK board Thomas Chou
2010-03-31  0:50 ` [U-Boot] [PATCH 5/5] nios2: fix no flash, add nand and mmc init in board.c Thomas Chou
2010-04-17 15:20   ` [U-Boot] [PATCH 5/5 v2] " Thomas Chou
2010-04-22  9:27   ` [U-Boot] [PATCH 5/5 v3] " Thomas Chou
2010-04-23  2:22     ` Scott McNutt
2010-04-15 14:55 ` [U-Boot] [PATCH v2] nios2: add nios2-generic board Thomas Chou
2010-04-16 10:40   ` Michal Simek
2010-04-17  9:53 ` [U-Boot] [PATCH 1/5 v3] " Thomas Chou
2010-04-21  0:40 ` [U-Boot] [PATCH 1/5 v4] " Thomas Chou

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=4BB4487C.6030708@monstr.eu \
    --to=monstr@monstr.eu \
    --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