1*fc9d9047SBreno Leitao/* SPDX-License-Identifier: GPL-2.0 */ 2*fc9d9047SBreno Leitao/* 3*fc9d9047SBreno Leitao * Embed the build-time-rendered bootconfig "kernel" subtree as a flat 4*fc9d9047SBreno Leitao * cmdline string. setup_arch() prepends this to boot_command_line on 5*fc9d9047SBreno Leitao * architectures that select ARCH_SUPPORTS_CMDLINE_FROM_BOOTCONFIG. 6*fc9d9047SBreno Leitao * 7*fc9d9047SBreno Leitao * Copyright (c) 2026 Meta Platforms, Inc. and affiliates 8*fc9d9047SBreno Leitao * Copyright (c) 2026 Breno Leitao <leitao@debian.org> 9*fc9d9047SBreno Leitao */ 10*fc9d9047SBreno Leitao .section .init.rodata.embed_cmdline, "a", %progbits 11*fc9d9047SBreno Leitao .global embedded_kernel_cmdline 12*fc9d9047SBreno Leitaoembedded_kernel_cmdline: 13*fc9d9047SBreno Leitao .incbin "lib/embedded_cmdline.bin" 14*fc9d9047SBreno Leitao .byte 0 15*fc9d9047SBreno Leitao .global embedded_kernel_cmdline_end 16*fc9d9047SBreno Leitaoembedded_kernel_cmdline_end: 17