From 702365e18621617bf5892c77b9db94fde859068f Mon Sep 17 00:00:00 2001 From: Felix Held Date: Fri, 11 Aug 2023 17:44:13 +0200 Subject: include/device/device: drop unused alignment defines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The resource allocator's setup_resource_ranges will make sure that the memory resources are 4KiB-aligned. The resource allocator doesn't enforce any alignment requirements on IO regions. Signed-off-by: Felix Held Change-Id: I3c148ce2acbe284b40126e331d8f372839817e73 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77167 Reviewed-by: Kyösti Mälkki Tested-by: build bot (Jenkins) --- src/include/device/device.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/include/device/device.h b/src/include/device/device.h index bf75b7c74a..bbad3c77d5 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -269,12 +269,6 @@ void show_all_devs_resources(int debug_level, const char *msg); #define DEV_FUNC_EXIT(dev) #endif /* DEBUG_FUNC */ -/* Rounding for boundaries. - * Due to some chip bugs, go ahead and round IO to 16 - */ -#define DEVICE_IO_ALIGN 16 -#define DEVICE_MEM_ALIGN 4096 - extern struct device_operations default_dev_ops_root; void pci_domain_read_resources(struct device *dev); void pci_domain_set_resources(struct device *dev); -- cgit v1.2.3