summaryrefslogtreecommitdiff
path: root/plat/socionext
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/socionext
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/socionext')
-rw-r--r--plat/socionext/uniphier/include/platform_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/socionext/uniphier/include/platform_def.h b/plat/socionext/uniphier/include/platform_def.h
index 3d71db20..6e9b98ed 100644
--- a/plat/socionext/uniphier/include/platform_def.h
+++ b/plat/socionext/uniphier/include/platform_def.h
@@ -53,7 +53,7 @@
#define MAX_IO_HANDLES 2
#define MAX_IO_DEVICES 2
-#define MAX_IO_BLOCK_DEVICES 1
+#define MAX_IO_BLOCK_DEVICES U(1)
#define TSP_SEC_MEM_BASE (BL32_BASE)
#define TSP_SEC_MEM_SIZE ((BL32_LIMIT) - (BL32_BASE))