forked from Imagelibrary/rtems
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:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
26
c/src/lib/libbsp/powerpc/gen83xx/startup/uboot_support.c
Normal file
26
c/src/lib/libbsp/powerpc/gen83xx/startup/uboot_support.c
Normal 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
|
||||
Reference in New Issue
Block a user