From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] mx7dsabresd: Define serial port locally
Date: Wed, 9 Mar 2016 12:48:55 +0100 [thread overview]
Message-ID: <56E00DA7.7020008@denx.de> (raw)
In-Reply-To: <1456177308-18574-2-git-send-email-festevam@gmail.com>
On 22/02/2016 22:41, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@nxp.com>
>
> CONFIG_MXC_UART_BASE should not be defined in mx7_common.h as
> the console port can vary from board to board.
>
> Define CONFIG_MXC_UART_BASE locally instead.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> ---
> include/configs/mx7_common.h | 1 -
> include/configs/mx7dsabresd.h | 2 ++
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
> index b2a8756..bfad696 100644
> --- a/include/configs/mx7_common.h
> +++ b/include/configs/mx7_common.h
> @@ -77,7 +77,6 @@
>
> /* UART */
> #define CONFIG_MXC_UART
> -#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR
>
> /* MMC */
> #define CONFIG_MMC
> diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
> index 2c981e0..b8b5b45 100644
> --- a/include/configs/mx7dsabresd.h
> +++ b/include/configs/mx7dsabresd.h
> @@ -14,6 +14,8 @@
> #define CONFIG_DBG_MONITOR
> #define PHYS_SDRAM_SIZE SZ_1G
>
> +#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR
> +
> /* Uncomment to enable secure boot support */
> /* #define CONFIG_SECURE_BOOT */
> #define CONFIG_CSF_SIZE 0x4000
>
Applied to -next, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2016-03-09 11:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-22 21:41 [U-Boot] [PATCH 1/2] mx7_common: Remove unexisting options Fabio Estevam
2016-02-22 21:41 ` [U-Boot] [PATCH 2/2] mx7dsabresd: Define serial port locally Fabio Estevam
2016-03-09 11:48 ` Stefano Babic [this message]
2016-03-09 11:48 ` [U-Boot] [PATCH 1/2] mx7_common: Remove unexisting options Stefano Babic
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=56E00DA7.7020008@denx.de \
--to=sbabic@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