Revert "drivers/console/xtensa_sim_console: force \r\n byte sequence"

This reverts commit 99aa65c725.

With this change, various simulators fail with no output with this
change.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2024-05-17 12:53:01 +00:00
parent 86a63627b0
commit 5df1df2e7a

View File

@ -25,14 +25,6 @@ int arch_printk_char_out(int c)
register int ret_err __asm__ ("a3");
buf[0] = (char)c;
if (buf[0] == '\n') {
buf[1] = buf[0];
buf[0] = '\r';
a3++;
a5++;
}
__asm__ volatile ("simcall"
: "=a" (ret_val), "=a" (ret_err)
: "a" (a2), "a" (a3), "a" (a4), "a" (a5)