SPDX: Convert all of our single license tags to Linux Kernel style
[oweals/u-boot.git] / board / toradex / common / tdx-cfg-block.c
index 328c4c0200d09198177b9941c52f2b30c1ba8429..f6231ff2f9968713a24d2420ac8c8c735234de56 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2016 Toradex, Inc.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -129,8 +128,6 @@ static int tdx_cfg_block_mmc_storage(u8 *config_block, int write)
                        ret = -EIO;
                        goto out;
                }
-               /* Flush cache after read */
-               flush_cache((ulong)(unsigned char *)config_block, 512);
        } else {
                /* Just writing one 512 byte block */
                if (blk_dwrite(mmc_get_blk_desc(mmc), blk_start, 1,