summaryrefslogtreecommitdiffstats
path: root/sys/boot/arm
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2008-11-19 17:34:28 +0000
committerraj <raj@FreeBSD.org>2008-11-19 17:34:28 +0000
commit531042bdec72ce9856b1a7463ffbe9973a8ffa1e (patch)
tree0823cbaddeecaf7d64e98b197440e3bc34e7861c /sys/boot/arm
parent1190adfbbc6cf267343075fe103ab3b04e5c06db (diff)
downloadFreeBSD-src-531042bdec72ce9856b1a7463ffbe9973a8ffa1e.zip
FreeBSD-src-531042bdec72ce9856b1a7463ffbe9973a8ffa1e.tar.gz
Initial storage functionality for U-Boot support library.
- Only non-sliced bsdlabel style partitioning is currently supported (but provisions are made towards GPT support, which should follow soon) - Enable storage support in loader on ARM Obtained from: Semihalf
Diffstat (limited to 'sys/boot/arm')
-rw-r--r--sys/boot/arm/uboot/Makefile4
-rw-r--r--sys/boot/arm/uboot/conf.c2
-rw-r--r--sys/boot/arm/uboot/version1
3 files changed, 4 insertions, 3 deletions
diff --git a/sys/boot/arm/uboot/Makefile b/sys/boot/arm/uboot/Makefile
index 9dba244..990afe9 100644
--- a/sys/boot/arm/uboot/Makefile
+++ b/sys/boot/arm/uboot/Makefile
@@ -10,8 +10,8 @@ WARNS?= 1
# Architecture-specific loader code
SRCS= start.S conf.c vers.c
-LOADER_DISK_SUPPORT?= no
-LOADER_UFS_SUPPORT?= no
+LOADER_DISK_SUPPORT?= yes
+LOADER_UFS_SUPPORT?= yes
LOADER_CD9660_SUPPORT?= no
LOADER_EXT2FS_SUPPORT?= no
LOADER_NET_SUPPORT?= yes
diff --git a/sys/boot/arm/uboot/conf.c b/sys/boot/arm/uboot/conf.c
index 765aedd..b797565 100644
--- a/sys/boot/arm/uboot/conf.c
+++ b/sys/boot/arm/uboot/conf.c
@@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");
struct devsw *devsw[] = {
#if defined(LOADER_DISK_SUPPORT) || defined(LOADER_CD9660_SUPPORT)
- &uboot_disk,
+ &uboot_storage,
#endif
#if defined(LOADER_NET_SUPPORT)
&netdev,
diff --git a/sys/boot/arm/uboot/version b/sys/boot/arm/uboot/version
index c784c53..e3715b0 100644
--- a/sys/boot/arm/uboot/version
+++ b/sys/boot/arm/uboot/version
@@ -3,4 +3,5 @@ $FreeBSD$
NOTE ANY CHANGES YOU MAKE TO THE BOOTBLOCKS HERE. The format of this
file is important. Make sure the current version number is on line 6.
+1.0: Added storage support. Booting from HDD, USB, etc. is now possible.
0.5: Initial U-Boot/arm version (netbooting only).
OpenPOWER on IntegriCloud