MLK-22344 arm64: dts: mark ocotp as read-only
authorPeng Fan <peng.fan@nxp.com>
Tue, 30 Jul 2019 07:02:58 +0000 (15:02 +0800)
committerPeng Fan <peng.fan@nxp.com>
Tue, 30 Jul 2019 07:31:54 +0000 (15:31 +0800)
It is easy to exploit system by allowing fuse program,
so let's mark as read-only. If pepole wanna fuse program,
just delete this property.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8dx.dtsi
arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi

index a8fb80b..c512dea 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2016 Freescale Semiconductor, Inc.
- * Copyright 2017-2018 NXP
+ * Copyright 2017-2019 NXP
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "fsl,imx8qxp-ocotp", "syscon";
+               read-only;
        };
 
        hsio: hsio {
index 2b5208d..991c4ed 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 NXP
+ * Copyright 2018-2019 NXP
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "fsl,imx8qm-ocotp", "syscon";
+               read-only;
        };
 
        hsio: hsio {