Skip to content
Permalink
Browse files

drivers: sifiv: make them 64-bit compatible

Make those drivers compatible with a 64-bit build.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
  • Loading branch information...
Nicolas Pitre authored and galak committed Jul 26, 2019
1 parent b948ca2 commit e5981f2b71663126c486a315d53c0bbfca53f325
Showing with 4 additions and 4 deletions.
  1. +2 −2 drivers/gpio/gpio_sifive.c
  2. +1 −1 drivers/pinmux/pinmux_sifive.c
  3. +1 −1 drivers/serial/uart_sifive.c
@@ -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;

0 comments on commit e5981f2

Please sign in to comment.
You can’t perform that action at this time.