This commit is contained in:
Mark Brown
2026-07-31 14:50:00 +01:00
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ extern void platform_setup (char **);
extern void platform_idle (void);
/*
* platform_calibrate_ccount calibrates cpu clock freq (CONFIG_XTENSA_CALIBRATE)
* platform_calibrate_ccount calibrates cpu clock freq (CONFIG_XTENSA_CALIBRATE_CCOUNT)
*/
extern void platform_calibrate_ccount (void);
+3 -2
View File
@@ -166,8 +166,9 @@ late_initcall(rs_init);
static void iss_console_write(struct console *co, const char *s, unsigned count)
{
if (s && *s != 0)
simc_write(1, s, min(count, strlen(s)));
count = s ? strnlen(s, count) : 0;
if (count)
simc_write(1, s, count);
}
static struct tty_driver* iss_console_device(struct console *c, int *index)