* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
-#if defined(CONFIG_SERIAL_SH_SCI_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ)
+#if (defined(CONFIG_SERIAL_SH_SCI_CONSOLE) || \
+ defined(CONFIG_SERIAL_SH_SCI_EARLYCON)) && \
+ defined(CONFIG_MAGIC_SYSRQ)
#define SUPPORT_SYSRQ
#endif