[PATCH v2 14/25] hw/arm: catalina: use the real TMP75 model
Emmanuel Blot via <[email protected]> Fri, 31 Jul 2026 12:45:13 +0200
| Newsgroups | org.nongnu.qemu-arm,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
The Catalina BMC instantiates several ti,tmp75 temperature sensors. Now that hw/sensor/tmp105.h provides a proper TMP75 model, drop the local TYPE_TMP75 alias (and its guard) so the board instantiates the accurate device rather than a plain TMP105. Signed-off-by: Emmanuel Blot <[email protected]> --- hw/arm/aspeed_ast2600_catalina.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/hw/arm/aspeed_ast2600_catalina.c b/hw/arm/aspeed_ast2600_catalina.c index 33e75338ef..928e140b21 100644 --- a/hw/arm/aspeed_ast2600_catalina.c +++ b/hw/arm/aspeed_ast2600_catalina.c @@ -22,12 +22,6 @@ #define CATALINA_BMC_HW_STRAP2 0x00000800 #define CATALINA_BMC_RAM_SIZE ASPEED_RAM_SIZE(2 * GiB) -/* - * Guard the alias against the TYPE_TMP75 that hw/sensor/tmp105.h now - * defines. - */ -#undef TYPE_TMP75 -#define TYPE_TMP75 TYPE_TMP105 #define TYPE_TMP421 "tmp421" #define TYPE_DS1338 "ds1338" -- 2.50.1