dm: test: Drop of-platdata pytest
[platform/kernel/u-boot.git] / arch / sandbox / cpu / spl.c
index 81b217a..9a77da1 100644 (file)
@@ -54,20 +54,8 @@ SPL_LOAD_IMAGE_METHOD("sandbox", 9, BOOT_DEVICE_BOARD, spl_board_load_image);
 void spl_board_init(void)
 {
        struct sandbox_state *state = state_get_current();
-       struct udevice *dev;
 
        preloader_console_init();
-       if (state->show_of_platdata) {
-               /*
-                * Scan all the devices so that we can output their platform
-                * data. See sandbox_spl_probe().
-                */
-               printf("Scanning misc devices\n");
-               for (uclass_first_device(UCLASS_MISC, &dev);
-                    dev;
-                    uclass_next_device(&dev))
-                       ;
-       }
 
        if (state->run_unittests) {
                int ret;