3 # This file is part of the coreboot project.
6 # SPDX-License-Identifier: GPL-2.0-only
11 echo "{ /* generated from ${in_file}; do not edit. */" >"${out_file}"
12 # Note currently we can only handle DDR3 type memory, even in C
14 sed "/^#.*$/d; s/^SDRAM.0./ /; s/\r$//; s/;$/,/;" \
15 "${in_file}" >> "${out_file}"
16 echo "}," >>"${out_file}"
20 echo "Generating $file => ${file%cfg}inc..."
21 bct_cfg2inc
"${file}" "${file%cfg}inc"