utils_def: add an assembly version for GENMASK
authorYann Gautier <yann.gautier@st.com>
Thu, 15 Nov 2018 08:49:24 +0000 (09:49 +0100)
committerYann Gautier <yann.gautier@st.com>
Thu, 15 Nov 2018 10:30:01 +0000 (11:30 +0100)
commit46c613ee0a4b5d6ff2dd016c455f8cc7ee9cabd4
tree33c570aca06fc303e78627aac9c68e8eb5b20cc3
parent35c4b414be0841b7da63ceb1b5eb6ccfed5dc686
utils_def: add an assembly version for GENMASK

When compiling assembly files, stdint.h is not included.
UINT32_C and UINT64_C are then not defined.
A new GENMASK macro for assembly is then created.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
include/lib/utils_def.h