aboutsummaryrefslogtreecommitdiff
path: root/plat/hisilicon/poplar
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/poplar
parente7c645b5206bc9fc3c5ac9089e3fd5b84d7ca216 (diff)
downloadtrusted-firmware-a-b7c6529c412d53b74e2a1fb6a7b1a70438a02802.tar.gz
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/poplar')
-rw-r--r--plat/hisilicon/poplar/include/platform_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/hisilicon/poplar/include/platform_def.h b/plat/hisilicon/poplar/include/platform_def.h
index 6287a76aa..e39d94471 100644
--- a/plat/hisilicon/poplar/include/platform_def.h
+++ b/plat/hisilicon/poplar/include/platform_def.h
@@ -40,7 +40,7 @@
/* IO framework user */
#define MAX_IO_DEVICES (4)
#define MAX_IO_HANDLES (4)
-#define MAX_IO_BLOCK_DEVICES (2)
+#define MAX_IO_BLOCK_DEVICES U(2)
/* Memory size options */
#define POPLAR_DRAM_SIZE_1G 0