drivers: sifiv: make them 64-bit compatible
Make those drivers compatible with a 64-bit build. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
This commit is contained in:
parent
b948ca2097
commit
e5981f2b71
3 changed files with 4 additions and 4 deletions
|
@ -41,8 +41,8 @@ struct gpio_sifive_t {
|
|||
};
|
||||
|
||||
struct gpio_sifive_config {
|
||||
u32_t gpio_base_addr;
|
||||
u32_t gpio_irq_base;
|
||||
uintptr_t gpio_base_addr;
|
||||
u32_t gpio_irq_base;
|
||||
sifive_cfg_func_t gpio_cfg_func;
|
||||
};
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <soc.h>
|
||||
|
||||
struct pinmux_sifive_config {
|
||||
u32_t base;
|
||||
uintptr_t base;
|
||||
};
|
||||
|
||||
struct pinmux_sifive_regs_t {
|
||||
|
|
|
@ -45,7 +45,7 @@ typedef void (*irq_cfg_func_t)(void);
|
|||
#endif
|
||||
|
||||
struct uart_sifive_device_config {
|
||||
u32_t port;
|
||||
uintptr_t port;
|
||||
u32_t sys_clk_freq;
|
||||
u32_t baud_rate;
|
||||
u32_t rxcnt_irq;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue