diff options
author | Simon Glass <sjg@chromium.org> | 2017-06-18 22:09:05 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-07-11 10:08:20 -0600 |
commit | 2028cc59f7b904f8e91a99439aa630b20932baa5 (patch) | |
tree | 90944b382ee649e90cc2f930a8b7a989fece3312 /arch | |
parent | 30107b08d7df87e4c92e413d92896a847f1c74dd (diff) | |
download | u-boot-2028cc59f7b904f8e91a99439aa630b20932baa5.zip u-boot-2028cc59f7b904f8e91a99439aa630b20932baa5.tar.gz u-boot-2028cc59f7b904f8e91a99439aa630b20932baa5.tar.bz2 |
sandbox: Stop printing platdata at the start of SPL
Currently we have code which prints out platform data at the start of SPL.
Now that we have tests for dtoc this is probably not necessary. Drop it.
Update test_ofplatdata to check for empty output since it is useful to
check that sandbox_spl works as expected.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/cpu/spl.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/sandbox/cpu/spl.c b/arch/sandbox/cpu/spl.c index 7cc76d4..2495fa9 100644 --- a/arch/sandbox/cpu/spl.c +++ b/arch/sandbox/cpu/spl.c @@ -44,16 +44,5 @@ SPL_LOAD_IMAGE_METHOD("sandbox", 0, BOOT_DEVICE_BOARD, spl_board_load_image); void spl_board_init(void) { - struct udevice *dev; - preloader_console_init(); - - /* - * Scan all the devices so that we can output their platform data. See - * sandbox_spl_probe(). - */ - for (uclass_first_device(UCLASS_MISC, &dev); - dev; - uclass_next_device(&dev)) - ; } |