Skip to content

Commit

Permalink
CHROUMIUM: Add #line to flash_npcx_fiu_nor.c
Browse files Browse the repository at this point in the history
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: Ia29bc5aed7c6d1c8353b35d545c1d523cc7cf1eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5667821
Commit-Queue: Al Semjonovs <asemjonovs@google.com>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
  • Loading branch information
jeremybettis authored and Chromeos LUCI committed Jul 3, 2024
1 parent a20b834 commit 006db2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/flash/flash_npcx_fiu_nor.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "spi_nor.h"

#include <zephyr/logging/log.h>
#line 31
LOG_MODULE_REGISTER(flash_npcx_fiu_nor, CONFIG_FLASH_LOG_LEVEL);

#define BLOCK_64K_SIZE KB(64)
Expand Down

0 comments on commit 006db2d

Please sign in to comment.