diff options
author | Konstantin Porotchkin <kostap@marvell.com> | 2017-12-04 18:27:03 +0200 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2017-12-07 18:15:45 +0200 |
commit | 2a0570f90007ea4ee5a803d96fd99c92631ba413 (patch) | |
tree | 300d064333a64824d8d16dae126cdbbf73072439 /include | |
parent | 16a0b7a022766b33b75809ac5708e8578a250a5d (diff) |
mvebu: add temporary window insertion/removal API
Add temporary window insertion/removal API to GWIN, IOW and CCU
drivers. This API to be used by early configuration SW for
changing the out-of reset default values in various components
and for providing access to different units before thea become
configured with final addressses.
Change-Id: Ia51be83fce72995f4248a39457d9a54a0a2b5524
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/47228
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Hanna Hawa <hannah@marvell.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drivers/marvell/ccu.h | 2 | ||||
-rw-r--r-- | include/drivers/marvell/gwin.h | 2 | ||||
-rw-r--r-- | include/drivers/marvell/io_win.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/include/drivers/marvell/ccu.h b/include/drivers/marvell/ccu.h index 99e52368..18987de2 100644 --- a/include/drivers/marvell/ccu.h +++ b/include/drivers/marvell/ccu.h @@ -40,5 +40,7 @@ int init_ccu(int); void ccu_win_check(struct addr_map_win *win, uint32_t win_num); void ccu_enable_win(int ap_index, struct addr_map_win *win, uint32_t win_id); +void ccu_temp_win_insert(int ap_index, struct addr_map_win *win, int size); +void ccu_temp_win_remove(int ap_index, struct addr_map_win *win, int size); #endif /* _CCU_H_ */ diff --git a/include/drivers/marvell/gwin.h b/include/drivers/marvell/gwin.h index e782af46..5b167a5c 100644 --- a/include/drivers/marvell/gwin.h +++ b/include/drivers/marvell/gwin.h @@ -38,5 +38,7 @@ #include <addr_map.h> int init_gwin(int); +void gwin_temp_win_insert(int ap_index, struct addr_map_win *win, int size); +void gwin_temp_win_remove(int ap_index, struct addr_map_win *win, int size); #endif /* _GWIN_H_ */ diff --git a/include/drivers/marvell/io_win.h b/include/drivers/marvell/io_win.h index ba831473..67b139f2 100644 --- a/include/drivers/marvell/io_win.h +++ b/include/drivers/marvell/io_win.h @@ -38,5 +38,7 @@ #include <addr_map.h> int init_io_win(int); +void iow_temp_win_insert(int ap_index, struct addr_map_win *win, int size); +void iow_temp_win_remove(int ap_index, struct addr_map_win *win, int size); #endif /* _IO_WIN_H_ */ |