Remove const from MHUv2 struct's base address
The mhu_v2_x.h was modified: the const was removed from the
base field of struct mhu_v2_x_dev_t so it can be changed runtime.
Signed-off-by: Bence Balogh <bence.balogh@arm.com>
Change-Id: If6fa303a52568d617a036319cf185ae0a16b6cb3
diff --git a/platform/drivers/arm/mhu_driver/mhu_v2_x.h b/platform/drivers/arm/mhu_driver/mhu_v2_x.h
index ec0a505..75f3f91 100644
--- a/platform/drivers/arm/mhu_driver/mhu_v2_x.h
+++ b/platform/drivers/arm/mhu_driver/mhu_v2_x.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020-2022 Arm Limited
+ * Copyright (c) 2020-2024 Arm Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,7 +49,7 @@
};
struct mhu_v2_x_dev_t {
- const uintptr_t base;
+ uintptr_t base;
enum mhu_v2_x_frame_t frame;
uint32_t subversion; /*!< Hardware subversion: v2.X */
bool is_initialized; /*!< Indicates if the MHU driver