debugcc: supports custom xo rate

Some device have a different rate for the xo debug oscillator. Add
support for defining custom xo rate in the primary debug mux.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Christian Marangi
2023-06-13 17:02:32 +02:00
parent bde23d9858
commit 93f5ccd037
2 changed files with 7 additions and 1 deletions

View File

@@ -65,6 +65,8 @@ struct debug_mux {
struct gcc_mux {
struct debug_mux mux;
unsigned int xo_rate;
unsigned int xo_div4_reg;
unsigned int xo_div4_val;