mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2026-08-15 05:18:32 +00:00
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:
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <board.h>
|
||||
#include <string.h>
|
||||
#include <main/main.h>
|
||||
#include <drivers/framework.h>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <board.h>
|
||||
#include <string.h>
|
||||
#include <drivers/framework.h>
|
||||
#include <lib/simplefb.h>
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <board.h>
|
||||
#include <string.h>
|
||||
#include <drivers/framework.h>
|
||||
#include <lib/debug.h>
|
||||
#include <lib/simplefb.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
|
||||
#include <board.h>
|
||||
#include <string.h>
|
||||
#include <main/main.h>
|
||||
#include <drivers/framework.h>
|
||||
#include <lib/simplefb.h>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include <board.h>
|
||||
#include <string.h>
|
||||
#include <drivers/framework.h>
|
||||
#include <lib/simplefb.h>
|
||||
#include <lib/debug.h>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include <board.h>
|
||||
#include <string.h>
|
||||
#include <drivers/framework.h>
|
||||
#include <lib/simplefb.h>
|
||||
#include <lib/debug.h>
|
||||
|
||||
Reference in New Issue
Block a user