Skip to content

Commit 30774d4

Browse files
jeremybettisChromeos LUCI
authored andcommitted
CHROMIUM: Add #line to flash_npcx_flu_nor.c
Work around coreboot GCC preprocessor bug. BUG=b:272518464 TEST=BOARD=xivu ; zmake build -c $BOARD && ./util/find_non_exec_lines.py build/zephyr/$BOARD/output/zephyr.info Change-Id: Id164b5e7bfaf43172c037dedda41f4218246687c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5651270 Tested-by: Jeremy Bettis <[email protected]> Auto-Submit: Jeremy Bettis <[email protected]> Commit-Queue: Jeremy Bettis <[email protected]> Commit-Queue: Tristan Honscheid <[email protected]> Reviewed-by: Tristan Honscheid <[email protected]>
1 parent 7d675b3 commit 30774d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/flash/flash_npcx_fiu_nor.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7+
/*
8+
* TODO(b/272518464): Work around coreboot GCC preprocessor bug.
9+
* #line marks the *next* line, so it is off by one.
10+
*/
11+
#line 12
12+
713
#define DT_DRV_COMPAT nuvoton_npcx_fiu_nor
814

915
#include <zephyr/kernel.h>

0 commit comments

Comments
 (0)