spl: Convert spl_nor_load_image() to use linker list
[J-u-boot.git] / common / spl / spl_nor.c
index f10d679922f3e0c1c24319c95d383b71828650ef..b55fcc5cdb75ec11ff3c04bc502b17493139cf84 100644 (file)
@@ -7,7 +7,7 @@
 #include <common.h>
 #include <spl.h>
 
-int spl_nor_load_image(struct spl_boot_device *bootdev)
+static int spl_nor_load_image(struct spl_boot_device *bootdev)
 {
        int ret;
        /*
@@ -70,3 +70,4 @@ int spl_nor_load_image(struct spl_boot_device *bootdev)
 
        return 0;
 }
+SPL_LOAD_IMAGE_METHOD(0, BOOT_DEVICE_NOR, spl_nor_load_image);
This page took 0.022879 seconds and 4 git commands to generate.