[U-Boot] [[Patch V2] mips: 16/16] modify qemu-mips/config.mk

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Sun Aug 19 15:38:35 CEST 2012


2012/8/17 Zhizhou Zhang <etou.zh at gmail.com>:
> Though I defined CONFIG_SYS_TEXT_BASE in configs/qemu-mips64.h,
> but the value is still affected by this file.

you should delete all CONFIG_SYS_TEXT_BASE definitions from this file.
The board specific config header file is the only right place.

> Signed-off-by: Zhizhou Zhang <etou.zh at gmail.com>
> ---
>  board/qemu-mips/config.mk |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/board/qemu-mips/config.mk b/board/qemu-mips/config.mk
> index 27cd34a..a1514a0 100644
> --- a/board/qemu-mips/config.mk
> +++ b/board/qemu-mips/config.mk
> @@ -2,9 +2,10 @@
>  # Qemu -M mips system emulator
>  # See http://fabrice.bellard.free.fr/qemu
>  #
> -
> +ifeq "$(CPU)" "mips"
>  # ROM version
>  CONFIG_SYS_TEXT_BASE = 0xbfc00000
>
>  # RAM version
>  #CONFIG_SYS_TEXT_BASE = 0x80001000
> +endif
> --
> 1.7.9.5
>



-- 
Best regards,
Daniel


More information about the U-Boot mailing list