From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 09/11] fsl/mpc85xx: introduce fsl_print_rcw function
Date: Fri, 6 Sep 2013 13:04:04 -0700 [thread overview]
Message-ID: <522A3534.5090201@freescale.com> (raw)
In-Reply-To: <1377698669-6149-10-git-send-email-valentin.longchamp@keymile.com>
On 08/28/2013 07:04 AM, Valentin Longchamp wrote:
> The RCW gets printed on a lot of FSL 85xx devices and it is always done
> the same way.
>
> The fsl_print_rcw function performs this exact same task.
>
> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
> ---
> Changes in v2: None
>
> arch/powerpc/cpu/mpc85xx/Makefile | 1 +
> arch/powerpc/cpu/mpc85xx/fsl_corenet_rcw.c | 43 ++++++++++++++++++++++++++++++
> arch/powerpc/include/asm/fsl_rcw.h | 19 +++++++++++++
> board/freescale/b4860qds/b4860qds.c | 13 ++-------
> board/freescale/corenet_ds/corenet_ds.c | 24 +++++++----------
> board/freescale/t4qds/t4qds.c | 12 ++-------
> 6 files changed, 76 insertions(+), 36 deletions(-)
> create mode 100644 arch/powerpc/cpu/mpc85xx/fsl_corenet_rcw.c
> create mode 100644 arch/powerpc/include/asm/fsl_rcw.h
>
> diff --git a/arch/powerpc/cpu/mpc85xx/Makefile b/arch/powerpc/cpu/mpc85xx/Makefile
> index 4669883..8c51619 100644
> --- a/arch/powerpc/cpu/mpc85xx/Makefile
> +++ b/arch/powerpc/cpu/mpc85xx/Makefile
> @@ -114,6 +114,7 @@ COBJS-$(CONFIG_QE) += qe_io.o
> COBJS-$(CONFIG_CPM2) += serial_scc.o
> COBJS-$(CONFIG_SYS_FSL_QORIQ_CHASSIS1) += fsl_corenet_serdes.o
> COBJS-$(CONFIG_SYS_FSL_QORIQ_CHASSIS2) += fsl_corenet2_serdes.o
> +COBJS-$(CONFIG_FSL_CORENET) += fsl_corenet_rcw.o
>
> # SoC specific SERDES support
> COBJS-$(CONFIG_MPC8536) += mpc8536_serdes.o
> diff --git a/arch/powerpc/cpu/mpc85xx/fsl_corenet_rcw.c b/arch/powerpc/cpu/mpc85xx/fsl_corenet_rcw.c
> new file mode 100644
> index 0000000..ca3a566
> --- /dev/null
> +++ b/arch/powerpc/cpu/mpc85xx/fsl_corenet_rcw.c
> @@ -0,0 +1,43 @@
> +/*
> + * (C) Copyright 2013 Keymile AG
> + * Valentin Longchamp <valentin.longchamp@keymile.com>
> + *
> + * 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., 51 Franklin Street, Fifth Floor, Boston,
> + * MA 02110-1301 USA
> + */
> +
>
Please retain original copyright when you move partial code to a new
file. Also please use the new license string.
Also apply to other part of this patch.
York
next prev parent reply other threads:[~2013-09-06 20:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-28 14:04 [U-Boot] [PATCH v2 0/11] Support for the kmp204x reference design Valentin Longchamp
2013-08-28 14:04 ` [U-Boot] [PATCH v2 01/11] km-powerpc: move SYS_MALLOC_LEN out of keymile-common.h Valentin Longchamp
2013-08-28 14:04 ` [U-Boot] [PATCH v2 02/11] km-powerpc: move CONFIG_FLASH_CFI_MTD to km83xx-common.h Valentin Longchamp
2013-08-28 14:04 ` [U-Boot] [PATCH v2 03/11] KM: fix typo in default environment Valentin Longchamp
2013-08-28 14:04 ` [U-Boot] [PATCH v2 04/11] KM: add CONFIG_KM_I2C_ABORT option Valentin Longchamp
2013-08-28 14:04 ` [U-Boot] [PATCH v2 05/11] km: add CONFIG_KM_COMMON_ETH_INIT for km common eth init Valentin Longchamp
2013-08-28 14:04 ` [U-Boot] [PATCH v2 06/11] mpc8xxx: set x2 DDR3 refresh rate if SPD config requires it Valentin Longchamp
2013-09-06 20:05 ` York Sun
2013-08-28 14:04 ` [U-Boot] [PATCH v2 07/11] net/fman: add a fm_enable_port function Valentin Longchamp
2013-08-28 14:04 ` [U-Boot] [PATCH v2 08/11] mtd/fsl_elbc: take NAND_ECC_SOFT_BCH config option into account Valentin Longchamp
2013-08-28 14:04 ` [U-Boot] [PATCH v2 09/11] fsl/mpc85xx: introduce fsl_print_rcw function Valentin Longchamp
2013-09-06 20:04 ` York Sun [this message]
2013-08-28 14:04 ` [U-Boot] [PATCH v2 10/11] fsl/mpc85xx: define common serdes_clock_to_string function Valentin Longchamp
2013-08-28 14:04 ` [U-Boot] [PATCH v2 11/11] mpc85xx: introduce the kmp204x reference design support Valentin Longchamp
2013-09-06 20:08 ` York Sun
2013-10-15 18:21 ` York Sun
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=522A3534.5090201@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