HAL: Fix hal status type definition

CHAR_MIN may be defined as unsigned by default on some systems,
and the value is 0. Use SCHAR_MIN to make sure it is negative.
Tthe HAL design document is also updated.

Change-Id: Ie74f261f704430d9bb2688960f6a8b938ef4c375
Signed-off-by: Mingyang Sun <mingyang.sun@arm.com>
diff --git a/docs/design_documents/hardware_abstraction_layer.rst b/docs/design_documents/hardware_abstraction_layer.rst
index 6f862ef..ba3a1c2 100644
--- a/docs/design_documents/hardware_abstraction_layer.rst
+++ b/docs/design_documents/hardware_abstraction_layer.rst
@@ -128,7 +128,7 @@
 .. code-block:: c
 
   enum tfm_hal_status_t {
-      TFM_HAL_ERROR_MEM_FAULT = CHAR_MIN,
+      TFM_HAL_ERROR_MEM_FAULT = SCHAR_MIN,
       TFM_HAL_ERROR_MAX_VALUE,
       TFM_HAL_ERROR_BAD_STATE,
       TFM_HAL_ERROR_NOT_SUPPORTED,