[PATCH 11/20] pg-wcom-ls102xa: Include <config.h> in the board file

Aleksandar Gerasimovski aleksandar.gerasimovski at hitachienergy.com
Thu Nov 2 08:17:52 CET 2023


Reviewed-by: Aleksandar Gerasimovski <aleksandar.gerasimovski at hitacienergy.com>

Regards,
Aleksandar

-----Original Message-----
From: Tom Rini <trini at konsulko.com> 
Sent: Wednesday, 1 November 2023 17:28
To: u-boot at lists.denx.de
Cc: Aleksandar Gerasimovski <aleksandar.gerasimovski at hitachienergy.com>; Rainer Boschung <rainer.boschung at hitachienergy.com>
Subject: [PATCH 11/20] pg-wcom-ls102xa: Include <config.h> in the board file

Warning

This email comes from outside of Hitachi Energy. Make sure you verify the sender before clicking any links or downloading/opening attachments.
If this email looks suspicious, report it by clicking 'Report Phishing' button in Outlook.
See the SecureWay group in Yammer for more security information.

Given that this file references CFG_* defines, we need to be explicit in our inclusion of config.h, so that these will be defined.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Aleksandar Gerasimovski <aleksandar.gerasimovski at hitachienergy.com>
Cc: Rainer Boschung <rainer.boschung at hitachienergy.com>
---
 board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c b/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
index 01786d938de1..cc3611e2dec1 100644
--- a/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
+++ b/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
@@ -3,6 +3,7 @@
  * Copyright 2020 Hitachi Power Grids. All rights reserved.
  */

+#include <config.h>
 #include <event.h>
 #include <i2c.h>
 #include <asm/io.h>
--
2.34.1



More information about the U-Boot mailing list