summaryrefslogtreecommitdiffhomepage
path: root/dev/Mod/MFlash/MFlash.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-03 09:58:24 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-03 09:58:24 +0100
commitcbfd279a1410e11d734edc99509a3e0c02dc6fcc (patch)
tree9fdda9fed9bd39f5f0ad8f2ba8bf0820d7495cff /dev/Mod/MFlash/MFlash.h
parent69b47cf75b49ffe571ab528497b30a2499d372cb (diff)
Worked on the AARCH64 HAL for TQ's boards, Add new spec in /doc/
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Mod/MFlash/MFlash.h')
-rw-r--r--dev/Mod/MFlash/MFlash.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev/Mod/MFlash/MFlash.h b/dev/Mod/MFlash/MFlash.h
index 5942353a..33e56a2b 100644
--- a/dev/Mod/MFlash/MFlash.h
+++ b/dev/Mod/MFlash/MFlash.h
@@ -10,12 +10,12 @@
#include <NewKit/Defines.h>
-/// @brief get sector count.
-/// @return drive sector count.
-Kernel::SizeT drv_get_sector_count();
+Kernel::SizeT drv_get_sector_count(Kernel::Int32 slot);
-/// @brief get device size.
-/// @return drive size
-Kernel::SizeT drv_get_size();
+Kernel::SizeT drv_get_size(Kernel::Int32 slot);
+
+Kernel::Void drv_enable_at(Kernel::Int32 slot);
+
+Kernel::Void drv_disable_at(Kernel::Int32 slot);
#endif // ifdef ZKA_USE_MBCI_FLASH