diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-06-14 00:40:22 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-06-26 21:42:11 +0000 |
commit | 5d8d90079dc442d9afe0c91d824dba2e9c3c8538 (patch) | |
tree | 3b2d626a9842ae66774aa3ff31b9e9018f95f0d3 | |
parent | 6f9c3577ea864ce80d1653a6af5b0d7a4766e1d4 (diff) |
device: Drop LOG_MEM/IO_RESOURCE
The only callsites in intel/xeon_sp were replaced with calls to
log_resource() and functionality is provided with LOG_RESOURCE()
now.
Change-Id: Ie44694f7a0b119d10f1bef9158fa30e71c312a55
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55478
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/include/device/device.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index 536b77730e..cdb3c63800 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -265,23 +265,6 @@ void show_one_resource(int debug_level, struct device *dev, void show_all_devs_resources(int debug_level, const char *msg); /* Debug macros */ -#if CONFIG(DEBUG_RESOURCES) -#include <console/console.h> -#define LOG_MEM_RESOURCE(type, dev, index, base_kb, size_kb) \ - printk(BIOS_SPEW, "%s:%d res: %s, dev: %s, index: 0x%x, base: 0x%llx, " \ - "end: 0x%llx, size_kb: 0x%llx\n", \ - __func__, __LINE__, type, dev_path(dev), index, (base_kb << 10), \ - (base_kb << 10) + (size_kb << 10) - 1, size_kb) - -#define LOG_IO_RESOURCE(type, dev, index, base, size) \ - printk(BIOS_SPEW, "%s:%d res: %s, dev: %s, index: 0x%x, base: 0x%llx, " \ - "end: 0x%llx, size: 0x%llx\n", \ - __func__, __LINE__, type, dev_path(dev), index, base, base + size - 1, size) -#else /* DEBUG_RESOURCES*/ -#define LOG_MEM_RESOURCE(type, dev, index, base_kb, size_kb) -#define LOG_IO_RESOURCE(type, dev, index, base, size) -#endif /* DEBUG_RESOURCES*/ - #if CONFIG(DEBUG_FUNC) #include <console/console.h> #define DEV_FUNC_ENTER(dev) \ |