board: include string.h directly for boards that use its functions

Several boards call readl()/writel() or use uint32_t but do not include
<string.h> (which is where unic declares these). They build today only
because <drivers/framework.h> pulls <string.h> in.

The framework header has no business pulling string.h; Include it properly
in case we remove framework.h later on (spoiler lol).
This commit is contained in:
Ivaylo Ivanov
2026-05-27 16:07:50 +00:00
parent 6e0c18ae24
commit b6ca1fc1ff
9 changed files with 9 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
*/
#include <board.h>
#include <string.h>
#include <main/main.h>
#include <drivers/framework.h>

View File

@@ -3,6 +3,7 @@
* Copyright (c) 2025, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
*/
#include <board.h>
#include <string.h>
#include <drivers/framework.h>
#include <lib/simplefb.h>

View File

@@ -4,6 +4,7 @@
*/
#include <board.h>
#include <string.h>
#include <drivers/framework.h>
#include <lib/simplefb.h>

View File

@@ -4,6 +4,7 @@
*/
#include <board.h>
#include <string.h>
#include <drivers/framework.h>
#include <lib/debug.h>
#include <lib/simplefb.h>

View File

@@ -3,6 +3,7 @@
* Copyright (c) 2025, Igor Belwon <igor.belwon@mentallysanemainliners.org>
*/
#include <board.h>
#include <string.h>
#include <drivers/framework.h>
#include <lib/debug.h>

View File

@@ -3,6 +3,7 @@
* Copyright (c) 2025, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
*/
#include <board.h>
#include <string.h>
#include <drivers/framework.h>
#include <lib/simplefb.h>
#include <drivers/samsung/exynos-acpm.h>

View File

@@ -4,6 +4,7 @@
*/
#include <board.h>
#include <string.h>
#include <main/main.h>
#include <drivers/framework.h>
#include <lib/simplefb.h>

View File

@@ -1,4 +1,5 @@
#include <board.h>
#include <string.h>
#include <drivers/framework.h>
#include <lib/simplefb.h>
#include <lib/debug.h>

View File

@@ -6,6 +6,7 @@
*/
#include <board.h>
#include <string.h>
#include <drivers/framework.h>
#include <lib/simplefb.h>
#include <lib/debug.h>