Debian Codegraph @

src/drivers/intel/fsp2_0/header_util/fspupdvpd_sanitize.sh

raw symbols SCIP
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 #
4 # Convert the FspUpdVpd.h header file into a format usable by coreboot
5 # Usage:
6 # fspupdvpd_sanitize.sh <path/to/FspUpdVpd.h>
7 #
8
9 PWD=$(dirname "${BASH_SOURCE[0]}")
10
11 SPATCH=spatch
12
13 # Fix line terminations
14 dos2unix $1
15
16 # Clean up trailing whitespace
17 sed -e "s, $,,g" -i $1
18
19 # Now fix the actual coding style
20 $SPATCH -sp_file ${PWD}/fspupdvpd.spatch \
21 -in_place $1