1.1 --- a/pkg/landfall-examples/hw_info/jz4780.c Thu Nov 16 22:03:51 2023 +0100
1.2 +++ b/pkg/landfall-examples/hw_info/jz4780.c Thu Nov 16 23:58:13 2023 +0100
1.3 @@ -337,9 +337,12 @@
1.4
1.5 /* RTC adapter functions. */
1.6
1.7 -void *rtc_init(l4_addr_t start)
1.8 +void *rtc_init(l4_addr_t start, void *cpm)
1.9 {
1.10 - return x1600_rtc_init(start);
1.11 + /* Ignore the CPM requirement for the JZ4780. */
1.12 +
1.13 + (void) cpm;
1.14 + return x1600_rtc_init(start, NULL);
1.15 }
1.16
1.17 void rtc_disable(void *rtc)
1.18 @@ -495,6 +498,7 @@
1.19 {"pllv", Clock_pll_V, "PLL V"},
1.20 {"main", Clock_main, "Main (SCLK_A)"},
1.21 {"cpu", Clock_cpu, "CPU"},
1.22 + {"l2c", Clock_l2cache, "L2 cache"},
1.23 {"h2p", Clock_hclock2_pclock, "AHB2/APB"},
1.24 {"ahb0", Clock_hclock0, "AHB0"},
1.25 {"ahb2", Clock_hclock2, "AHB2"},