[U-Boot] [PATCH] Add WinCE image load/boot cmd
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Fri Oct 31 10:46:43 CET 2008
On 10:43 Fri 22 Aug , Ryan CHEN wrote:
> The patch is to add support functions which load and boot WinCE image.
> It introduces one new CMD macro named 'CONFIG_CMD_WINCE'.
> The source codes have tested on STLS board.
>
> Signed-off-by: Ryan Chen <ryan.chen at st.com>
>
> ---
> common/Makefile | 1 +
> common/cmd_bootm.c | 32 ++++++++
> common/cmd_wince.c | 193 ++++++++++++++++++++++++++++++++++++++++++++++
> include/config_cmd_all.h | 1 +
> include/image.h | 1 +
> 5 files changed, 228 insertions(+), 0 deletions(-)
> create mode 100644 common/cmd_wince.c
>
+
> diff --git a/common/cmd_wince.c b/common/cmd_wince.c
> new file mode 100644
> index 0000000..fdc2e6b
> --- /dev/null
> +++ b/common/cmd_wince.c
> @@ -0,0 +1,193 @@
> +/*
> + * 2008 (c) STMicroelectronics, Inc.
> + * Author: Ryan Chen <Ryan.Chen at st.com>
> + *
> + * Redistribution and use in source and binary forms, with or without
> + * modification, are permitted provided that the following conditions
> + * are met:
> + * 1. Redistributions of source code must retain the above copyright
> + * notice, this list of conditions and the following disclaimer.
> + * 2. Redistributions in binary form must reproduce the above copyright
> + * notice, this list of conditions and the following disclaimer in the
> + * documentation and/or other materials provided with the distribution.
> + * 3. All advertising materials mentioning features or use of this software
> + * must display the following acknowledgement:
> + * This product includes software developed by Opsycon AB, Sweden.
> + * 4. The name of the author may not be used to endorse or promote products
> + * derived from this software without specific prior written permission.
> + *
> + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
> + * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
> + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
> + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
> + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
> + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
> + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
> + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
> + * SUCH DAMAGE.
> + */
Hi,
Could resend this code under either GPL or a clean, GPL-compatible BSD
license.
And BTW if needed put Opsycon AB in copy.
Best Regards,
J.
More information about the U-Boot
mailing list