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