linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
Cc: Michael Durrant <mdurrant@arcturusnetworks.com>,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH 1/1] powerpc: mpc85xx: Add board support for ucp1020
Date: Thu, 7 May 2015 16:33:19 -0500	[thread overview]
Message-ID: <1431034399.16357.403.camel@freescale.com> (raw)
In-Reply-To: <554BBD10.5050706@arcturusnetworks.com>

On Thu, 2015-05-07 at 15:29 -0400, Oleksandr G Zhadan wrote:
> On 05/07/2015 02:18 PM, Scott Wood wrote:
> > On Thu, 2015-05-07 at 12:31 -0400, Oleksandr G Zhadan wrote:
> >>>> diff --git a/arch/powerpc/configs/ucp1020_defconfig b/arch/powerpc/configs/ucp1020_defconfig
> >>>> new file mode 100644
> >>>> index 0000000..62f99aa
> >>>> --- /dev/null
> >>>> +++ b/arch/powerpc/configs/ucp1020_defconfig
> >>>
> >>> Please explain why your board needs its own defconfig.
> >>>
> >>
> >> Because, it's our own board and it has some specific to board
> >> definitions like CONFIG_DEFAULT_HOSTNAME and some specific to product
> >> definitions.
> >>
> >> If I can do it in some other way could you please give me some example
> >> if it's possible.
> >
> > I don't think stuff like CONFIG_DEFAULT_HOSTNAME belongs upstream.
> > Could you list what you need to be set that mpc85xx_smp_defconfig
> > doesn't set?
> 
> I make diff "mpc85xx_smp_defconfig" vs "ucp1020_defconfig after make 
> savedefconfig" and it's some differences like:
> 
> - mpc85xx_smp_defconfig has:
> CONFIG_PHYS_64BIT=y
> CONFIG_NR_CPUS=8

These won't prevent your board from working.  If you want
CONFIG_PHYS_64BIT disabled for performance, I could see a fragment being
used for that as per the recent defconfig discussions.  I wouldn't
expect NR_CPUS being 8 instead of 2 to be noticeable.

> - it enabled almost all boards to build. What for ?

Because that's what the common defconfigs are for.  We don't want a
defconfig for each board (most of the board-specific configs that are
currently there were added long ago).  If you want a config that
contains nothing your board doesn't need, you can maintain that locally.

> - it has MTD related differences (doesn't enabled spi flashes support we 
> need):
> -CONFIG_MTD_M25P80=y
> -CONFIG_MTD_SST25L=y

So add them to the existing defconfig.

> - It includes some PHY support, but not phy we are using

This should not harm your board.

>  and we need include intel wifi support:
> -CONFIG_MICREL_PHY=y
> -CONFIG_IWLWIFI=y

So add them to the existing defconfig.

> - It doesn't enable EXT4 fs support.

I think this would be a reasonable thing to add.


> Etc...
> 
> You can see it yourself below:

That doesn't show me the set of changes that you *need*, only the set of
changes that you have.

-Scott

      reply	other threads:[~2015-05-07 21:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-05 15:52 [PATCH 1/1] powerpc: mpc85xx: Add board support for ucp1020 Oleksandr G Zhadan
2015-05-07  3:22 ` Scott Wood
2015-05-07 16:31   ` Oleksandr G Zhadan
2015-05-07 18:18     ` Scott Wood
2015-05-07 19:29       ` Oleksandr G Zhadan
2015-05-07 21:33         ` Scott Wood [this message]

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=1431034399.16357.403.camel@freescale.com \
    --to=scottwood@freescale.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mdurrant@arcturusnetworks.com \
    --cc=oleks@arcturusnetworks.com \
    /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;
as well as URLs for NNTP newsgroup(s).