From c76289227eb1219ea6d123a687dd7832d9d36e30 Mon Sep 17 00:00:00 2001 From: Maik Otto Date: Thu, 17 Sep 2020 11:36:54 +0200 Subject: arch: arm: boards phytec: Split flash header for pcl063 with i.MX6Ul and i.MX6ULL i.MX6UL and i.MX6ULL have different engines for Secure Boot on HABv4. For better differentiation rename existing pcl063 flash headers to pcl063ul and pcl063ull. Signed-off-by: Maik Otto Signed-off-by: Sascha Hauer --- .../phytec-som-imx6/flash-header-phytec-pcl063-256mb.imxcfg | 10 ---------- .../boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.h | 9 +++++++++ .../phytec-som-imx6/flash-header-phytec-pcl063-512mb.imxcfg | 10 ---------- .../phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg | 3 +++ .../phytec-som-imx6/flash-header-phytec-pcl063ull-256mb.imxcfg | 10 ++++++++++ .../phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfg | 3 +++ 6 files changed, 25 insertions(+), 20 deletions(-) delete mode 100644 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-256mb.imxcfg create mode 100644 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.h delete mode 100644 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.imxcfg create mode 100644 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg create mode 100644 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-256mb.imxcfg create mode 100644 arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfg (limited to 'arch/arm/boards/phytec-som-imx6') diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-256mb.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-256mb.imxcfg deleted file mode 100644 index b93e81fb4e..0000000000 --- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-256mb.imxcfg +++ /dev/null @@ -1,10 +0,0 @@ - -#define SETUP_MDCFG0 \ - wm 32 0x021B000C 0x676B52F3 - -#define SETUP_MDASP_MDCTL \ - wm 32 0x021B0040 0x00000047; \ - wm 32 0x021B0000 0x83180000 - -#include "flash-header-phytec-pcl063.h" -#include diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.h b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.h new file mode 100644 index 0000000000..c4122d245d --- /dev/null +++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.h @@ -0,0 +1,9 @@ + +#define SETUP_MDCFG0 \ + wm 32 0x021B000C 0x676B52F3 + +#define SETUP_MDASP_MDCTL \ + wm 32 0x021B0040 0x0000004F; \ + wm 32 0x021B0000 0x84180000 + +#include "flash-header-phytec-pcl063.h" diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.imxcfg deleted file mode 100644 index 26998c3fd8..0000000000 --- a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063-512mb.imxcfg +++ /dev/null @@ -1,10 +0,0 @@ - -#define SETUP_MDCFG0 \ - wm 32 0x021B000C 0x676B52F3 - -#define SETUP_MDASP_MDCTL \ - wm 32 0x021B0040 0x0000004F; \ - wm 32 0x021B0000 0x84180000 - -#include "flash-header-phytec-pcl063.h" -#include diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg new file mode 100644 index 0000000000..f629a8e7b2 --- /dev/null +++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ul-512mb.imxcfg @@ -0,0 +1,3 @@ + +#include "flash-header-phytec-pcl063-512mb.h" +#include diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-256mb.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-256mb.imxcfg new file mode 100644 index 0000000000..b93e81fb4e --- /dev/null +++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-256mb.imxcfg @@ -0,0 +1,10 @@ + +#define SETUP_MDCFG0 \ + wm 32 0x021B000C 0x676B52F3 + +#define SETUP_MDASP_MDCTL \ + wm 32 0x021B0040 0x00000047; \ + wm 32 0x021B0000 0x83180000 + +#include "flash-header-phytec-pcl063.h" +#include diff --git a/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfg b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfg new file mode 100644 index 0000000000..f629a8e7b2 --- /dev/null +++ b/arch/arm/boards/phytec-som-imx6/flash-header-phytec-pcl063ull-512mb.imxcfg @@ -0,0 +1,3 @@ + +#include "flash-header-phytec-pcl063-512mb.h" +#include -- cgit v1.2.3