summaryrefslogtreecommitdiff
path: root/plat/hisilicon/hikey960
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2018-12-03 13:38:06 +0100
committerYann Gautier <yann.gautier@st.com>2018-12-10 18:09:49 +0100
commitb7c6529c412d53b74e2a1fb6a7b1a70438a02802 (patch)
tree6b132ed20c32fa566ab6fcb8cfc6bf1e5fdf4b0f /plat/hisilicon/hikey960
parente7c645b5206bc9fc3c5ac9089e3fd5b84d7ca216 (diff)
io_block: define MAX_IO_BLOCK_DEVICES as unsigned
This is used as a table index, and already compared with an unsigned int: block_dev_count. Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'plat/hisilicon/hikey960')
-rw-r--r--plat/hisilicon/hikey960/include/platform_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/hisilicon/hikey960/include/platform_def.h b/plat/hisilicon/hikey960/include/platform_def.h
index 3717ff8a..427a1e75 100644
--- a/plat/hisilicon/hikey960/include/platform_def.h
+++ b/plat/hisilicon/hikey960/include/platform_def.h
@@ -38,7 +38,7 @@
#define MAX_IO_DEVICES 3
#define MAX_IO_HANDLES 4
/* UFS RPMB and UFS User Data */
-#define MAX_IO_BLOCK_DEVICES 2
+#define MAX_IO_BLOCK_DEVICES U(2)
/*