From e44e3482bdb4d0ebde2d8b41830ac2cdb07948fb Mon Sep 17 00:00:00 2001 From: Yang Zhang Date: Fri, 28 Aug 2015 09:58:54 +0800 Subject: Add qemu 2.4.0 Change-Id: Ic99cbad4b61f8b127b7dc74d04576c0bcbaaf4f5 Signed-off-by: Yang Zhang --- qemu/roms/u-boot/board/ibf-dsp561/Makefile | 12 ++++++++++++ qemu/roms/u-boot/board/ibf-dsp561/config.mk | 11 +++++++++++ qemu/roms/u-boot/board/ibf-dsp561/ibf-dsp561.c | 26 ++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 qemu/roms/u-boot/board/ibf-dsp561/Makefile create mode 100644 qemu/roms/u-boot/board/ibf-dsp561/config.mk create mode 100644 qemu/roms/u-boot/board/ibf-dsp561/ibf-dsp561.c (limited to 'qemu/roms/u-boot/board/ibf-dsp561') diff --git a/qemu/roms/u-boot/board/ibf-dsp561/Makefile b/qemu/roms/u-boot/board/ibf-dsp561/Makefile new file mode 100644 index 000000000..5b05ba800 --- /dev/null +++ b/qemu/roms/u-boot/board/ibf-dsp561/Makefile @@ -0,0 +1,12 @@ +# +# U-boot - Makefile +# +# Copyright (c) 2005-2007 Analog Device Inc. +# +# (C) Copyright 2000-2006 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-y := ibf-dsp561.o diff --git a/qemu/roms/u-boot/board/ibf-dsp561/config.mk b/qemu/roms/u-boot/board/ibf-dsp561/config.mk new file mode 100644 index 000000000..854d7dbb8 --- /dev/null +++ b/qemu/roms/u-boot/board/ibf-dsp561/config.mk @@ -0,0 +1,11 @@ +# +# Copyright (c) 2005-2008 Analog Device Inc. +# +# (C) Copyright 2001 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# +# SPDX-License-Identifier: GPL-2.0+ +# + +# Set some default LDR flags based on boot mode. +LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 diff --git a/qemu/roms/u-boot/board/ibf-dsp561/ibf-dsp561.c b/qemu/roms/u-boot/board/ibf-dsp561/ibf-dsp561.c new file mode 100644 index 000000000..d2ac7a502 --- /dev/null +++ b/qemu/roms/u-boot/board/ibf-dsp561/ibf-dsp561.c @@ -0,0 +1,26 @@ +/* + * U-boot - main board file + * + * Copyright (c) 2008-2009 I-SYST. + * + * Licensed under the GPL-2 or later. + */ + +#include +#include + +DECLARE_GLOBAL_DATA_PTR; + +int checkboard(void) +{ + printf("Board: I-SYST IBF-DSP561 Micromodule\n"); + printf(" Support: http://www.i-syst.com/\n"); + return 0; +} + +#ifdef CONFIG_DRIVER_AX88180 +int board_eth_init(bd_t *bis) +{ + return ax88180_initialize(bis); +} +#endif -- cgit 1.2.3-korg