Files
u-boot/cmd
Michal Simek 3cc9716476 cmd: fpga: Remove fit image support passed without fpga device
The patch applied in 2010
"cmd_fpga: cleanup help and check parameters"
(sha1: a790b5b2326be9d7c9ad9e3d9b51a8bfabc62d07"
was adding this checking

+       if (dev == FPGA_INVALID_DEVICE) {
+               puts("FPGA device not specified\n");
+               op = FPGA_NONE;
+       }

which simply broke one command flow which was
setenv fpga <dev>
fpga loadmk <addr> // legacy image
fpga loadmk <addr>:<fit_image_name> //fit image

Also this sequence for FIT image is completely broken
setenv fpga <dev>
setenv fpgadata <addr>:<fit_image_name>
fpga loadmk
(Note: For legacy images this is working fine).

even from code I don't think this has ever worked properly
for fit image (dev = FPGA_INVALID_DEVICE should be rejected
by fpga core). Fit image support was in 2008 added by:
"[new uImage] Add new uImage fromat support to fpga command"
(sha1: c28c4d193d)

Just a summary of these facts that none found this for pretty long time
it shouldn't be a problem to remove this flow (without fpga dev)
completely to simplify the code.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2018-09-11 10:58:41 +02:00
..
2017-02-08 15:56:28 -05:00
2018-05-08 18:50:23 -04:00
2018-08-11 09:16:08 +02:00
2017-07-03 17:35:28 -04:00
2018-05-23 17:30:05 -04:00
2018-08-20 07:21:29 -04:00
2018-08-21 16:21:37 +02:00
2018-07-24 09:25:23 -04:00
2017-08-16 08:30:24 -04:00
2016-10-06 20:57:42 -04:00
2018-06-05 20:19:08 -04:00
2018-08-10 10:27:32 -04:00
2018-05-08 09:07:35 -04:00
2018-07-26 11:43:30 -04:00
2018-07-02 14:14:20 -05:00