]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_fpga.c
Add a cli command to test the TPM device.
[karo-tx-uboot.git] / common / cmd_fpga.c
index 0ad310f531ea92c5e41966d6bb289e8e5c3f4664..8946345f19abccf1cab102924fed683fb4e9f64f 100644 (file)
@@ -289,7 +289,7 @@ int do_fpga (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
                        {
                                const void *fit_hdr = (const void *)fpga_data;
                                int noffset;
-                               void *fit_data;
+                               const void *fit_data;
 
                                if (fit_uname == NULL) {
                                        puts ("No FIT subimage unit name\n");