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
sunxi/nand: Add support to the SPL for loading u-boot from internal NAND memory
[platform/kernel/u-boot.git]
/
include
/
configs
/
cm-bf527.h
diff --git
a/include/configs/cm-bf527.h
b/include/configs/cm-bf527.h
index
1592719
..
387f1cb
100644
(file)
--- a/
include/configs/cm-bf527.h
+++ b/
include/configs/cm-bf527.h
@@
-38,6
+38,9
@@
/* Values can range from 1-15 */
#define CONFIG_SCLK_DIV 4
/* Values can range from 1-15 */
#define CONFIG_SCLK_DIV 4
+/* Decrease core voltage */
+#define CONFIG_VR_CTL_VAL (VLEV_120 | CLKBUFOE | FREQ_1000)
+
/*
* Memory Settings
/*
* Memory Settings
@@
-65,7
+68,6
@@
#define CONFIG_BFIN_NFC_CTL_VAL 0x0033
#define CONFIG_SYS_NAND_BASE 0 /* not actually used */
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define CONFIG_BFIN_NFC_CTL_VAL 0x0033
#define CONFIG_SYS_NAND_BASE 0 /* not actually used */
#define CONFIG_SYS_MAX_NAND_DEVICE 1
-#define NAND_MAX_CHIPS 1
#define CONFIG_CMD_NAND
#endif
#define CONFIG_CMD_NAND
#endif
@@
-79,12
+81,9
@@
#define CONFIG_BFIN_MAC
#define CONFIG_RMII
#define CONFIG_NETCONSOLE 1
#define CONFIG_BFIN_MAC
#define CONFIG_RMII
#define CONFIG_NETCONSOLE 1
-#define CONFIG_NET_MULTI 1
#endif
#define CONFIG_HOSTNAME cm-bf527
#endif
#define CONFIG_HOSTNAME cm-bf527
-/* Uncomment next line to use fixed MAC address */
-/* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */
-
+#define CONFIG_LIB_RAND
/*
* Flash Settings
/*
* Flash Settings
@@
-105,17
+104,15
@@
#define CONFIG_ENV_ADDR 0x20008000
#define CONFIG_ENV_OFFSET 0x8000
#define CONFIG_ENV_SIZE 0x8000
#define CONFIG_ENV_ADDR 0x20008000
#define CONFIG_ENV_OFFSET 0x8000
#define CONFIG_ENV_SIZE 0x8000
-#define CONFIG_ENV_SECT_SIZE 0x
20
000
-#define
ENV_IS_EMBEDDED_CUSTOM
+#define CONFIG_ENV_SECT_SIZE 0x
8
000
+#define
CONFIG_ENV_IS_EMBEDDED_IN_LDR
/*
* I2C Settings
*/
/*
* I2C Settings
*/
-#define CONFIG_BFIN_TWI_I2C 1
-#define CONFIG_HARD_I2C 1
-#define CONFIG_SYS_I2C_SPEED 50000
-#define CONFIG_SYS_I2C_SLAVE 0
+#define CONFIG_SYS_I2C
+#define CONFIG_SYS_I2C_ADI
/*
/*
@@
-125,7
+122,10
@@
#define CONFIG_MISC_INIT_R
#define CONFIG_RTC_BFIN
#define CONFIG_UART_CONSOLE 0
#define CONFIG_MISC_INIT_R
#define CONFIG_RTC_BFIN
#define CONFIG_UART_CONSOLE 0
-
+#define CONFIG_BOOTCOMMAND "run flashboot"
+#define FLASHBOOT_ENV_SETTINGS \
+ "flashboot=flread 20040000 1000000 300000;" \
+ "bootm 0x1000000\0"
/*
* Pull in common ADI header for remaining command/environment setup
/*
* Pull in common ADI header for remaining command/environment setup