src/commonlib/storage: Move include <console.h> to sd_mmc.h
Non of the .c files is using a function from console.h directly. Include console.h is moved to sd_mmc.h, where sdhc_error("msg..") is defined. Change-Id: Ic9283f227a37785056b9fac216fabcac054066a0 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26752 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
f369e60329
commit
6ec87da84f
|
@ -16,7 +16,6 @@
|
|||
*/
|
||||
|
||||
#include <arch/cache.h>
|
||||
#include <console/console.h>
|
||||
#include "bouncebuf.h"
|
||||
#include <halt.h>
|
||||
#include "storage.h"
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
*/
|
||||
|
||||
#include <commonlib/storage.h>
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include "sd_mmc.h"
|
||||
#include "mmc.h"
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
#include <assert.h>
|
||||
#include <commonlib/sdhci.h>
|
||||
#include <console/console.h>
|
||||
#include <device/pci.h>
|
||||
#include "sd_mmc.h"
|
||||
#include "storage.h"
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#include <commonlib/sd_mmc_ctrlr.h>
|
||||
#include <commonlib/storage.h>
|
||||
#include <stddef.h>
|
||||
#include <console/console.h>
|
||||
|
||||
#define SD_MMC_IO_RETRIES 1000
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
#include <assert.h>
|
||||
#include "bouncebuf.h"
|
||||
#include <console/console.h>
|
||||
#include <commonlib/sd_mmc_ctrlr.h>
|
||||
#include <commonlib/sdhci.h>
|
||||
#include <commonlib/storage.h>
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include <commonlib/sd_mmc_ctrlr.h>
|
||||
#include <commonlib/sdhci.h>
|
||||
#include <commonlib/storage.h>
|
||||
#include <console/console.h>
|
||||
#include "sdhci.h"
|
||||
#include "sd_mmc.h"
|
||||
#include "storage.h"
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include "sd_mmc.h"
|
||||
#include "storage.h"
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include "sd_mmc.h"
|
||||
#include "storage.h"
|
||||
#include <string.h>
|
||||
|
|
Loading…
Reference in New Issue