public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] powerpc/mpc85xx: Add DSP side awareness for Freescale Heterogeneous SoCs
Date: Mon, 29 Sep 2014 09:42:29 -0700	[thread overview]
Message-ID: <54298BF5.7070405@freescale.com> (raw)
In-Reply-To: <1410512940-6140-1-git-send-email-shaveta@freescale.com>

On 09/12/2014 02:09 AM, Shaveta Leekha wrote:
> The code provides framework for heterogeneous multicore chips based on StarCore
> and Power Architecture which are chasis-2 compliant, like B4860 and B4420
> 
> It will make u-boot recognize all non-ppc cores and peripherals like
> SC3900/DSP CPUs, MAPLE, CPRI and print their configuration in u-boot logs.
> Example boot logs of B4420:
> Clock Configuration:
>         CPU0:1600 MHz, CPU1:1600 MHz,
>         DSP CPU0:1200 MHz, DSP CPU1:1200 MHz,
>         CCB:666.667 MHz,
>         DDR:800  MHz (1600 MT/s data rate) (Asynchronous), IFC:166.667 MHz
>         CPRI:600  MHz
>         MAPLE:600  MHz, MAPLE-ULB:800  MHz, MAPLE-eTVPE:1000 MHz
>         FMAN1: 666.667 MHz
>         QMAN:  333.333 MHz
> 
> Top level changes include:
> (1) Top level CONFIG to identify HETEROGENUOUS clusters
> (2) CONFIGS for SC3900/DSP components
> (3) Global structure updated for dsp cores and other components
> (3) APIs to get DSP num cores and their Mask like:
>         cpu_dsp_mask, cpu_num_dspcores etc same as that of PowerPC
> (5) Code to fetch and print SC cores and other heterogenous
>     device's frequencies
> (6) README added for the same
> 
> Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
> ---
>  arch/powerpc/cpu/mpc85xx/cpu.c            |   25 ++++++
>  arch/powerpc/cpu/mpc85xx/speed.c          |  133 +++++++++++++++++++++++++++++
>  arch/powerpc/cpu/mpc8xxx/cpu.c            |   83 ++++++++++++++++++-
>  arch/powerpc/include/asm/config_mpc85xx.h |   13 +++-
>  arch/powerpc/include/asm/processor.h      |    1 +
>  doc/README.Heterogeneous-SoCs             |  105 +++++++++++++++++++++++
>  include/common.h                          |    2 +
>  include/e500.h                            |    9 ++
>  8 files changed, 368 insertions(+), 3 deletions(-)
>  create mode 100644 doc/README.Heterogeneous-SoCs
> 

<snip>

> diff --git a/include/e500.h b/include/e500.h
> index 5884a22..bb8246a 100644
> --- a/include/e500.h
> +++ b/include/e500.h
> @@ -11,6 +11,7 @@
>  typedef struct
>  {
>  	unsigned long freq_processor[CONFIG_MAX_CPUS];
> +	unsigned long freq_processor_dsp[CONFIG_MAX_DSP_CPUS];

Have you compiled all e500 platforms? This new line causes compiling error on a
lot of boards.

York

  reply	other threads:[~2014-09-29 16:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-12  9:09 [U-Boot] [PATCH] powerpc/mpc85xx: Add DSP side awareness for Freescale Heterogeneous SoCs Shaveta Leekha
2014-09-29 16:42 ` York Sun [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-01-07  6:44 Shaveta Leekha
2015-01-15 20:42 ` York Sun
2015-01-19  7:14 Shaveta Leekha
2015-01-19  7:18 ` shaveta at freescale.com

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=54298BF5.7070405@freescale.com \
    --to=yorksun@freescale.com \
    --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