bootcount: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
|
||||
#define LOG_CATEGORY UCLASS_BOOTCOUNT
|
||||
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <errno.h>
|
||||
#include <bootcount.h>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#include <asm/arch/at91_gpbr.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* Heiko Schocher, DENX Software Engineering, hs@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
|
||||
void bootcount_store(ulong a)
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* Heiko Schocher, DENX Software Engineering, hs@denx.de.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <cpu_func.h>
|
||||
#include <asm/cache.h>
|
||||
#include <asm/global_data.h>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright (c) Vaisala Oyj. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootcount.h>
|
||||
#include <dm.h>
|
||||
#include <dm/device_compat.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* (C) Copyright 2019 GE
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootcount.h>
|
||||
#include <dm.h>
|
||||
#include <i2c_eeprom.h>
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
* This works only, if the PMIC is not connected to a battery.
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootcount.h>
|
||||
#include <dm.h>
|
||||
#include <power/pmic.h>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* (C) Copyright 2018 Theobroma Systems Design und Consulting GmbH
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootcount.h>
|
||||
#include <dm.h>
|
||||
#include <log.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
* (C) Copyright 2019 GE
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <bootcount.h>
|
||||
#include <dm.h>
|
||||
#include <spi_flash.h>
|
||||
|
||||
Reference in New Issue
Block a user