We already have a directory for rockchip related headers, so move from the top level to there.
No functional change intended. Signed-off-by: Ahmad Fatoum <[email protected]> --- I don't mind if it's just absorbed/squashed into the original commits. --- commands/rksecure.c | 2 +- drivers/tee/optee/rksecure.c | 2 +- include/{rk_secure_boot.h => soc/rockchip/secure_boot.h} | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) rename include/{rk_secure_boot.h => soc/rockchip/secure_boot.h} (78%) diff --git a/commands/rksecure.c b/commands/rksecure.c index 81b4f1a62860..d761cac152ce 100644 --- a/commands/rksecure.c +++ b/commands/rksecure.c @@ -9,7 +9,7 @@ #include <libfile.h> #include <linux/kstrtox.h> -#include <rk_secure_boot.h> +#include <soc/rockchip/secure_boot.h> static int rksecure_write_hash_hex(const char *hex, u32 key_size_bits) { diff --git a/drivers/tee/optee/rksecure.c b/drivers/tee/optee/rksecure.c index 3a5cb0cb7be1..408547dab322 100644 --- a/drivers/tee/optee/rksecure.c +++ b/drivers/tee/optee/rksecure.c @@ -8,7 +8,7 @@ #include <linux/array_size.h> #include <uapi/linux/tee.h> -#include <rk_secure_boot.h> +#include <soc/rockchip/secure_boot.h> #include "optee_private.h" #include "pta_rk_secure_boot.h" diff --git a/include/rk_secure_boot.h b/include/soc/rockchip/secure_boot.h similarity index 78% rename from include/rk_secure_boot.h rename to include/soc/rockchip/secure_boot.h index 6e247aa7eef3..128d60633359 100644 --- a/include/rk_secure_boot.h +++ b/include/soc/rockchip/secure_boot.h @@ -3,8 +3,8 @@ * Copyright (C) 2025 Pengutronix, Michael Tretter <[email protected]> */ -#ifndef __RK_SECURE_BOOT_H -#define __RK_SECURE_BOOT_H +#ifndef __SOC_ROCKCHIP_SECURE_BOOT_H +#define __SOC_ROCKCHIP_SECURE_BOOT_H #include <linux/types.h> @@ -18,4 +18,4 @@ int rk_secure_boot_get_info(struct rk_secure_boot_info *info); int rk_secure_boot_burn_hash(const u8 *hash, u32 key_size_bits); int rk_secure_boot_lockdown_device(void); -#endif /* __RK_SECURE_BOOT_H */ +#endif /* __SOC_ROCKCHIP_SECURE_BOOT_H */ -- 2.47.3
