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>
This commit is contained in:
parent
9cbdc8fbe5
commit
702365e186
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue