xref: /openbmc/linux/arch/s390/boot/sclp_early_core.c (revision f1d3c532)
1a1d7d91fSVasily Gorbik // SPDX-License-Identifier: GPL-2.0
2*f1d3c532SAlexander Egorenkov #include "boot.h"
3a1d7d91fSVasily Gorbik #include "../../../drivers/s390/char/sclp_early_core.c"
4*f1d3c532SAlexander Egorenkov 
5*f1d3c532SAlexander Egorenkov /* SCLP early buffer must stay page-aligned and below 2GB */
6*f1d3c532SAlexander Egorenkov static char __sclp_early_sccb[EXT_SCCB_READ_SCP] __aligned(PAGE_SIZE);
7*f1d3c532SAlexander Egorenkov 
sclp_early_setup_buffer(void)8*f1d3c532SAlexander Egorenkov void sclp_early_setup_buffer(void)
9*f1d3c532SAlexander Egorenkov {
10*f1d3c532SAlexander Egorenkov 	sclp_early_set_buffer(&__sclp_early_sccb);
11*f1d3c532SAlexander Egorenkov }
12