summaryrefslogtreecommitdiff
path: root/board/keymile/kmp204x/kmp204x.h
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@ch.abb.com>2020-01-10 12:47:42 +0100
committerTom Rini <trini@konsulko.com>2020-01-23 07:29:58 -0500
commit78a408bb49a78462b1cdff0611029d8f830c5e5e (patch)
tree8de76cc650e0d293c22f6cd6a505407b096bced3 /board/keymile/kmp204x/kmp204x.h
parentac32e7d109112f848b3f0dc68cff48021e348e86 (diff)
KM/kmp204x: qrio and i2c deblock code moved to common
This patch moves the qrio and i2c deblocking code to keymile/common as it will also be used by the upcoming CENT2 board. Signed-off-by: Holger Brunck <holger.brunck@ch.abb.com> CC: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board/keymile/kmp204x/kmp204x.h')
-rw-r--r--board/keymile/kmp204x/kmp204x.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/board/keymile/kmp204x/kmp204x.h b/board/keymile/kmp204x/kmp204x.h
index 4d14c44617..00e1a06662 100644
--- a/board/keymile/kmp204x/kmp204x.h
+++ b/board/keymile/kmp204x/kmp204x.h
@@ -4,31 +4,5 @@
* Valentin Longchamp <valentin.longchamp@keymile.com>
*/
-/* QRIO GPIO ports */
-#define GPIO_A 0x40
-#define GPIO_B 0x60
-
-int qrio_get_gpio(u8 port_off, u8 gpio_nr);
-void qrio_set_opendrain_gpio(u8 port_off, u8 gpio_nr, u8 val);
-void qrio_set_gpio(u8 port_off, u8 gpio_nr, bool value);
-void qrio_gpio_direction_output(u8 port_off, u8 gpio_nr, bool value);
-void qrio_gpio_direction_input(u8 port_off, u8 gpio_nr);
-
-#define PRSTCFG_POWUP_UNIT_CORE_RST 0x0
-#define PRSTCFG_POWUP_UNIT_RST 0x1
-#define PRSTCFG_POWUP_RST 0x3
-
-void qrio_prst(u8 bit, bool en, bool wden);
-void qrio_wdmask(u8 bit, bool wden);
-void qrio_prstcfg(u8 bit, u8 mode);
-void qrio_set_leds(void);
-void qrio_enable_app_buffer(void);
-void qrio_cpuwd_flag(bool flag);
-int qrio_reset_reason(void);
-
-#define UPREQ_UNIT_RST 0x0
-#define UPREQ_CORE_RST 0x1
-
-void qrio_uprstreq(u8 mode);
void pci_of_setup(void *blob, bd_t *bd);