source: rtems/c/src/lib/libbsp/powerpc/gen5200/startup/uboot_support.c @ 6e2fcea

4.104.114.95
Last change on this file since 6e2fcea was 6e2fcea, checked in by Joel Sherrill <joel.sherrill@…>, on 07/01/08 at 19:12:48

2008-07-01 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, include/bsp.h: Add bsp_uboot_getenv() to obtain U-Boot environment variables.
  • startup/uboot_support.c: New file.
  • Property mode set to 100644
File size: 640 bytes
RevLine 
[6e2fcea]1/*
2 *  This file contains variables which assist the shared
3 *  U-Boot code.
4 *
5 *  COPYRIGHT (c) 1989-2008.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.rtems.com/license/LICENSE.
11 *
12 *  $Id$
13 */
14
15#include <stdint.h>
16
17#include <bsp.h>
18
19#if defined(HAS_UBOOT)
20/* Base address of U-Boot environment variables */
21const uint8_t *uboot_environment      = (const char *)0xfff40000;
22
23/* Length of area reserved for U-Boot environment variables */
24const size_t  *uboot_environment_size = 0x10000;
25#endif
Note: See TracBrowser for help on using the repository browser.