summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/gen5200/start/uboot_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/powerpc/gen5200/start/uboot_support.c')
-rw-r--r--bsps/powerpc/gen5200/start/uboot_support.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/bsps/powerpc/gen5200/start/uboot_support.c b/bsps/powerpc/gen5200/start/uboot_support.c
new file mode 100644
index 0000000000..f373f558e7
--- /dev/null
+++ b/bsps/powerpc/gen5200/start/uboot_support.c
@@ -0,0 +1,23 @@
+/*
+ * 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.org/license/LICENSE.
+ */
+
+#include <stdint.h>
+
+#include <bsp.h>
+
+#if defined(HAS_UBOOT)
+/* Base address of U-Boot environment variables */
+const uint8_t *uboot_environment = (const uint8_t *)0xfff40000;
+
+/* Length of area reserved for U-Boot environment variables */
+const size_t uboot_environment_size = 0x10000;
+#endif