diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-08-11 17:44:13 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-08-15 14:43:38 +0000 |
commit | 702365e18621617bf5892c77b9db94fde859068f (patch) | |
tree | 811b976f85fabf686335d68b115dc125d7b23473 /src/include | |
parent | 9cbdc8fbe571a9ce04d4947ae9b742e3f30e192e (diff) |
include/device/device: drop unused alignment defines
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 <felix-coreboot@felixheld.de>
Change-Id: I3c148ce2acbe284b40126e331d8f372839817e73
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77167
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/device/device.h | 6 |
1 files changed, 0 insertions, 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); |