summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2024-02-12 14:27:51 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2024-02-13 10:11:00 +0100
commitd25f91d2fa4e302311d6e1608cfc43aee53d2623 (patch)
treefdfb3890a1eff3a6dfd1570c4ecf4ae23c32d1fa
parent8545e6e8eaa5575b81954ddc9e033d80110a62ff (diff)
downloadbarebox-d25f91d2fa4e.tar.gz
barebox-d25f91d2fa4e.tar.xz
habv4: convert comments to common coding style
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Link: https://lore.barebox.org/20240212132901.1641599-2-mkl@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/hab/habv4.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/drivers/hab/habv4.c b/drivers/hab/habv4.c
index c60a658b89..6440ef7f51 100644
--- a/drivers/hab/habv4.c
+++ b/drivers/hab/habv4.c
@@ -147,9 +147,11 @@ struct hab_header {
typedef enum hab_status hab_loader_callback_fn(void **start, size_t *bytes, const void *boot_data);
typedef void hab_image_entry_fn(void);
-/* This table is constructed from the NXP manual "High Assurance Boot Version 4
- * Application Programming Interface Reference Manual", section 4.5 ROM vector
- * table. Revision 1.4 */
+/*
+ * This table is constructed from the NXP manual "High Assurance Boot
+ * Version 4 Application Programming Interface Reference Manual",
+ * section 4.5 ROM vector table. Revision 1.4
+ */
struct habv4_rvt {
struct hab_header header;
enum hab_status (*entry)(void);
@@ -169,9 +171,11 @@ struct habv4_rvt {
#define FSL_SIP_HAB 0xC2000007
-/* These values correspondent to the jump table found in the upstream TF-A
- * version 2.10 `imx_hab_handler`, not all HAB rom functions are supported yet.
- * */
+/*
+ * These values correspondent to the jump table found in the upstream
+ * TF-A version 2.10 `imx_hab_handler`, not all HAB rom functions are
+ * supported yet.
+ */
enum hab_sip_cmd {
FSL_SIP_HAB_AUTHENTICATE = 0x00,
FSL_SIP_HAB_ENTRY = 0x01,