projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spl: Convert spl_ubi_load_image() to use linker list
[platform/kernel/u-boot.git]
/
common
/
spl
/
spl_ubi.c
diff --git
a/common/spl/spl_ubi.c
b/common/spl/spl_ubi.c
index
d64e6cf
..
3ef00aa
100644
(file)
--- a/
common/spl/spl_ubi.c
+++ b/
common/spl/spl_ubi.c
@@
-76,3
+76,6
@@
out:
#endif
return ret;
}
+/* Use priorty 0 so that Ubi will override NAND and ONENAND methods */
+SPL_LOAD_IMAGE_METHOD(0, BOOT_DEVICE_NAND, spl_ubi_load_image);
+SPL_LOAD_IMAGE_METHOD(0, BOOT_DEVICE_ONENAND, spl_ubi_load_image);