All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Bilke <paul@conspiracy.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] MPC8272 Family
Date: Wed, 14 Mar 2007 17:33:47 -0500	[thread overview]
Message-ID: <45F8784B.901@conspiracy.net> (raw)

I have a dual 8247 platform that I ported u-boot 1.1.4 to awhile back. 
I have been asked to go ahead to move the changes to the current
version.  Right now the include/mcp8260.h has only minimal knowledge of
the 8272 series, only changing the CPI_ID_STR as appropriate.  On these
processors the SIUMCR register and the bits in the HRCW are different
than they are on 8260 (and 8270, 8280 etc).  In 1.1.4 I just had #ifdef
's to support the differences, but I know people don't like the headers
littered with them (actually 4).  This platform will not have wide
distribution so pushing all the changes upstream is not necessary, but I
would like to push these base infrastructure changes up so others can
use them as they build with these chips.  So I am looking for an opinion
as to which strategy to use:
Put the #ifdefs in
Put the new options in without #ifdefs (a mpc8260 define changes the
same bit as a mpc8272 one does)
Duplicate the mpc8260.h into a mpc8272.h file
or split out the processor specific sections into a separate include and
have a single ifdef in the mpc8260.h that includes the right one.
Or maybe no one is interested in these changes, I am open to suggestions.

Also this platform has two processors (core disabled on the second one)
and was wondering if anyone was interested in supporting more than one
iop_conf_tab in the system.  Right now the functions that set up the CPM
assume there is only one in a system (one immr) so the changes are not
pretty.  This could be fixed to support generic configuration of
multiple CPM's by passing the immr to be configured.  If there is
interest I can also clean up these changes and send them up.  Or did
slave processors go out of vogue with the 68360.

Paul

             reply	other threads:[~2007-03-14 22:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-14 22:33 Paul Bilke [this message]
2007-03-14 23:18 ` [U-Boot-Users] MPC8272 Family Wolfgang Denk

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=45F8784B.901@conspiracy.net \
    --to=paul@conspiracy.net \
    --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.