hw/cxl: Push cxl_decoder_count_enc() and cxl_decode_ig() into .c
commitf5a4e1a697e98c7bd0a663d53a378d8c6918ed72
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 13 Sep 2023 13:25:20 +0000 (13 14:25 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 4 Oct 2023 22:15:06 +0000 (4 18:15 -0400)
tree4f7368dc193ba6089ee4a03c6bdbb8cd2d3f2c15
parent0a7a164bc37b4ecbf74466e1e5243d72a768ad06
hw/cxl: Push cxl_decoder_count_enc() and cxl_decode_ig() into .c

There is no strong justification for keeping these in the header
so push them down into the associated cxl-component-utils.c file.

Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20230913132523.29780-2-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/cxl/cxl-component-utils.c
include/hw/cxl/cxl_component.h