projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge https://source.denx.de/u-boot/custodians/u-boot-sunxi
[platform/kernel/u-boot.git]
/
board
/
phytec
/
phycore_rk3288
/
phycore-rk3288.c
diff --git
a/board/phytec/phycore_rk3288/phycore-rk3288.c
b/board/phytec/phycore_rk3288/phycore-rk3288.c
index
92f3bd2
..
17b987f
100644
(file)
--- a/
board/phytec/phycore_rk3288/phycore-rk3288.c
+++ b/
board/phytec/phycore_rk3288/phycore-rk3288.c
@@
-4,14
+4,20
@@
* Author: Wadim Egorov <w.egorov@phytec.de>
*/
* Author: Wadim Egorov <w.egorov@phytec.de>
*/
+#include <eeprom.h>
+#include <init.h>
+#include <log.h>
+#include <net.h>
+#include <asm/global_data.h>
#include <asm/io.h>
#include <common.h>
#include <dm.h>
#include <asm/io.h>
#include <common.h>
#include <dm.h>
-#include <env
ironment
.h>
-#include <
fdtdec
.h>
+#include <env.h>
+#include <
env_internal
.h>
#include <i2c.h>
#include <i2c_eeprom.h>
#include <netdev.h>
#include <i2c.h>
#include <i2c_eeprom.h>
#include <netdev.h>
+#include <linux/bitops.h>
#include "som.h"
#include <power/regulator.h>
#include <power/rk8xx_pmic.h>
#include "som.h"
#include <power/regulator.h>
#include <power/rk8xx_pmic.h>
@@
-83,7
+89,7
@@
static int phycore_init(void)
if (ret)
return ret;
if (ret)
return ret;
-#if defined(CONFIG_SPL_POWER
_SUPPORT
)
+#if defined(CONFIG_SPL_POWER)
/* Increase USB input current to 2A */
ret = rk818_spl_configure_usb_input_current(pmic, 2000);
if (ret)
/* Increase USB input current to 2A */
ret = rk818_spl_configure_usb_input_current(pmic, 2000);
if (ret)