Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143729951
D35670.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
854 B
Referenced Files
None
Subscribers
None
D35670.diff
View Options
diff --git a/stand/uboot/main.c b/stand/uboot/main.c
--- a/stand/uboot/main.c
+++ b/stand/uboot/main.c
@@ -475,6 +475,13 @@
meminfo();
+ archsw.arch_loadaddr = uboot_loadaddr;
+ archsw.arch_getdev = uboot_getdev;
+ archsw.arch_copyin = uboot_copyin;
+ archsw.arch_copyout = uboot_copyout;
+ archsw.arch_readin = uboot_readin;
+ archsw.arch_autoload = uboot_autoload;
+
/* Set up currdev variable to have hooks in place. */
env_setenv("currdev", EV_VOLATILE, "", uboot_setcurrdev, env_nounset);
@@ -538,13 +545,6 @@
setenv("usefdt", "1", 1);
#endif
- archsw.arch_loadaddr = uboot_loadaddr;
- archsw.arch_getdev = uboot_getdev;
- archsw.arch_copyin = uboot_copyin;
- archsw.arch_copyout = uboot_copyout;
- archsw.arch_readin = uboot_readin;
- archsw.arch_autoload = uboot_autoload;
-
interact(); /* doesn't return */
return (0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 1, 9:31 AM (3 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28332847
Default Alt Text
D35670.diff (854 B)
Attached To
Mode
D35670: stand/uboot: setup archsw before probing devices
Attached
Detach File
Event Timeline
Log In to Comment