[U-Boot] [PATCH 5/8] mips: dbau1x00: move CONFIG_SYS_TEXT_BASE away from config.mk

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Fri Dec 11 14:46:04 CET 2015



Am 11.12.2015 um 04:22 schrieb Masahiro Yamada:
> We can delete board/dbau1x00/config.mk by moving the define of
> CONFIG_SYS_TEXT_BASE to somewhere else.  Other MIPS boards are
> still defining it in include/config/${BOARD}.h, so I am following
> that way here.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
> 
>  board/dbau1x00/config.mk   | 16 ----------------
>  include/configs/dbau1x00.h |  5 +++++
>  2 files changed, 5 insertions(+), 16 deletions(-)
>  delete mode 100644 board/dbau1x00/config.mk
> 
> diff --git a/board/dbau1x00/config.mk b/board/dbau1x00/config.mk
> deleted file mode 100644
> index b378ac8..0000000
> --- a/board/dbau1x00/config.mk
> +++ /dev/null
> @@ -1,16 +0,0 @@
> -#
> -# (C) Copyright 2003
> -# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
> -#
> -# SPDX-License-Identifier:	GPL-2.0+
> -#
> -
> -#
> -# AMD development board AMD Alchemy DbAu1x00, MIPS32 core
> -#
> -
> -# ROM version
> -CONFIG_SYS_TEXT_BASE = 0xbfc00000
> -
> -# RAM version
> -#CONFIG_SYS_TEXT_BASE = 0x80100000
> diff --git a/include/configs/dbau1x00.h b/include/configs/dbau1x00.h
> index 3be44d4..817676f 100644
> --- a/include/configs/dbau1x00.h
> +++ b/include/configs/dbau1x00.h
> @@ -147,6 +147,11 @@
>  #define CONFIG_FLASH_CFI_DRIVER    1
>  
>  /* The following #defines are needed to get flash environment right */
> +/* ROM version */
> +#define CONFIG_SYS_TEXT_BASE		0xbfc00000
> +/* RAM version */
> +/* #define CONFIG_SYS_TEXT_BASE		0x80100000 */
> +
>  #define	CONFIG_SYS_MONITOR_BASE	CONFIG_SYS_TEXT_BASE
>  #define	CONFIG_SYS_MONITOR_LEN		(192 << 10)
>  
> 

Acked-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>

-- 
- Daniel


More information about the U-Boot mailing list