From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Added support for the Guntermann & Drunck PowerPC 440 EP/GR ETX module.
Date: Thu, 27 Nov 2008 17:02:18 +0100 [thread overview]
Message-ID: <200811271702.18430.sr@denx.de> (raw)
In-Reply-To: <1227789406-8800-1-git-send-email-eibach@gdsys.de>
Hi Dirk,
On Thursday 27 November 2008, Dirk Eibach wrote:
> Signed-off-by: Dirk Eibach <eibach@gdsys.de>
Please find below some comments in addition to Wolfgangs comments:
<snip>
> diff --git a/board/gdsys/gdppc440etx/init.S
> b/board/gdsys/gdppc440etx/init.S new file mode 100644
> index 0000000..f938236
> --- /dev/null
> +++ b/board/gdsys/gdppc440etx/init.S
> @@ -0,0 +1,112 @@
> +/*
> +*
> +* See file CREDITS for list of people who contributed to this
> +* project.
> +*
> +* This program is free software; you can redistribute it and/or
> +* modify it under the terms of the GNU General Public License as
> +* published by the Free Software Foundation; either version 2 of
> +* the License, or (at your option) any later version.
> +*
> +* This program is distributed in the hope that it will be useful,
> +* but WITHOUT ANY WARRANTY; without even the implied warranty of
> +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> +* GNU General Public License for more details.
> +*
> +* 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., 59 Temple Place, Suite 330, Boston,
> +* MA 02111-1307 USA
> +*/
> +
> +#include <ppc_asm.tmpl>
> +#include <config.h>
> +
> +/* General */
> +#define TLB_VALID 0x00000200
> +
> +/* Supported page sizes */
> +
> +#define SZ_1K 0x00000000
> +#define SZ_4K 0x00000010
...
Just include:
#include <asm-ppc/mmu.h>
and you get all those defines for free.
Best regards,
Stefan
=====================================================================
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
=====================================================================
next prev parent reply other threads:[~2008-11-27 16:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-27 12:36 [U-Boot] [PATCH] Added support for the Guntermann & Drunck PowerPC 440 EP/GR ETX module Dirk Eibach
2008-11-27 15:48 ` Wolfgang Denk
2008-11-28 8:53 ` Eibach, Dirk
2008-11-28 11:40 ` Wolfgang Denk
2008-11-27 16:02 ` Stefan Roese [this message]
2008-11-27 17:17 ` Jerry Van Baren
2008-11-27 17:54 ` Stefan Roese
2008-11-27 22:17 ` Wolfgang Denk
2008-12-02 8:17 ` Matthias Fuchs
2008-12-02 18:41 ` Jon Loeliger
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=200811271702.18430.sr@denx.de \
--to=sr@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