History

logic_pio: Define PIO_INDIRECT_SIZE for !CONFIG_INDIRECT_PIO

With the goal of expanding the test coverage of the HiSi LPC driver to !ARM64, define a dummy PIO_INDIRECT_SIZE for !CONFIG_INDIRECT_PIO, which is required by the named driver.

John Garry committed 7 years ago

Commit b8104fd1 parent 0376fa71 file · +2 −2Browse files

Unified · Split

include/linux/logic_pio.h+2−2
@@ -108,10 +108,10 @@ void logic_outsl(unsigned long addr, const void *buffer, unsigned int count); · 107 unmodified lines
108 * area by redefining the macro below.108 * area by redefining the macro below.
109 */109 */
110#define PIO_INDIRECT_SIZE 0x4000110#define PIO_INDIRECT_SIZE 0x4000
111#define MMIO_UPPER_LIMIT (IO_SPACE_LIMIT - PIO_INDIRECT_SIZE)
112#else111#else
113#define MMIO_UPPER_LIMIT IO_SPACE_LIMIT112#define PIO_INDIRECT_SIZE 0
114#endif /* CONFIG_INDIRECT_PIO */113#endif /* CONFIG_INDIRECT_PIO */
114#define MMIO_UPPER_LIMIT (IO_SPACE_LIMIT - PIO_INDIRECT_SIZE)
115 115
116struct logic_pio_hwaddr *find_io_range_by_fwnode(struct fwnode_handle *fwnode);116struct logic_pio_hwaddr *find_io_range_by_fwnode(struct fwnode_handle *fwnode);
117unsigned long logic_pio_trans_hwaddr(struct fwnode_handle *fwnode,117unsigned long logic_pio_trans_hwaddr(struct fwnode_handle *fwnode,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t