hw/display/sm501: Expand out macros in template header
commit36144df315ca614a40a45daded8bc5c691fcc3e7
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Feb 2021 18:06:52 +0000 (12 18:06 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 9 Mar 2021 22:07:08 +0000 (10 09:07 +1100)
tree9b7af774a56a25281ee129ace3a2461e60ff24ba
parentec79c56300c15fb32ad22596eacbdea0d218d9f5
hw/display/sm501: Expand out macros in template header

Now that we only include sm501_template.h for the DEPTH==32 case, we
can expand out the uses of the BPP, PIXEL_TYPE and PIXEL_NAME macros
in that header.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210212180653.27588-3-peter.maydell@linaro.org>
Acked-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/display/sm501_template.h