2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>

* Makefile.am: Add stub for U-Boot support. Hopefully someone more
	knowledgeable than I can provide a real address and length.
	* startup/uboot_support.c: New file.
This commit is contained in:
Joel Sherrill
2008-07-31 18:09:34 +00:00
parent 7e5bf38aac
commit 694c85ee13
3 changed files with 35 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2008-07-31 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Add stub for U-Boot support. Hopefully someone more
knowledgeable than I can provide a real address and length.
* startup/uboot_support.c: New file.
2008-07-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* configure.ac, include/bsp.h, startup/bspstart.c,

View File

@@ -51,7 +51,9 @@ startup_SOURCES = ../../shared/bspclean.c \
../../shared/gnatinstallhandler.c \
../shared/src/tictac.c \
startup/cpuinit.c \
startup/bspstart.c
startup/bspstart.c \
startup/uboot_support.c \
../shared/uboot_getenv.c
clock_SOURCES = ../shared/clock/clock.c

View File

@@ -0,0 +1,26 @@
/*
* This file contains variables which assist the shared
* U-Boot code.
*
* COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#include <stdint.h>
#include <bsp.h>
#if defined(HAS_UBOOT)
/* XXX TODO fill in with real information */
/* Base address of U-Boot environment variables */
const uint8_t *uboot_environment = (const char *)0x00000000;
/* Length of area reserved for U-Boot environment variables */
const size_t *uboot_environment_size = 0x10000;
#endif