X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fconfigs%2Fcm-bf561.h;h=93e3c8677e66a247537d7e0b8f7cecdca7606ba9;hb=c360033ffb3b15d64405c9a3aa5216fbf188ff0a;hp=ef4466cd5ba7b3b431c3c1dc8c144cf393ef9c74;hpb=e548321af00e869af7194896576beb9b68457ff7;p=oweals%2Fu-boot.git diff --git a/include/configs/cm-bf561.h b/include/configs/cm-bf561.h index ef4466cd5b..93e3c8677e 100644 --- a/include/configs/cm-bf561.h +++ b/include/configs/cm-bf561.h @@ -5,7 +5,7 @@ #ifndef __CONFIG_CM_BF561_H__ #define __CONFIG_CM_BF561_H__ -#include +#include /* @@ -30,7 +30,7 @@ #define CONFIG_PLL_BYPASS 0 /* VCO_MULT controls the MSEL (multiplier) bits in PLL_CTL */ /* Values can range from 0-63 (where 0 means 64) */ -#define CONFIG_VCO_MULT 22 +#define CONFIG_VCO_MULT 20 /* CCLK_DIV controls the core clock divider */ /* Values can be 1, 2, 4, or 8 ONLY */ #define CONFIG_CCLK_DIV 1 @@ -38,6 +38,9 @@ /* Values can range from 1-15 */ #define CONFIG_SCLK_DIV 5 +/* Decrease core voltage */ +#define CONFIG_VR_CTL_VAL (VLEV_110 | GAIN_20 | FREQ_1000) + /* * Memory Settings @@ -60,8 +63,9 @@ * Network Settings */ #define ADI_CMDS_NETWORK 1 -#define CONFIG_DRIVER_SMC91111 1 -#define CONFIG_SMC91111_BASE 0x28000300 +#define CONFIG_SMC911X 1 +#define CONFIG_SMC911X_BASE 0x24008000 /* AMS1 */ +#define CONFIG_SMC911X_16_BIT #define CONFIG_HOSTNAME cm-bf561 /* Uncomment next line to use fixed MAC address */ /* #define CONFIG_ETHADDR 02:80:ad:20:31:cf */ @@ -85,6 +89,7 @@ #define CONFIG_ENV_OFFSET 0x20000 #define CONFIG_ENV_SECT_SIZE 0x20000 #define CONFIG_ENV_SIZE 0x10000 +#define CONFIG_ENV_IS_EMBEDDED_IN_LDR /* @@ -92,6 +97,8 @@ */ #define CONFIG_BAUDRATE 115200 #define CONFIG_UART_CONSOLE 0 +#define CONFIG_BOOTCOMMAND "run flashboot" +#define FLASHBOOT_ENV_SETTINGS "flashboot=bootm 0x20040000\0" /* @@ -99,6 +106,4 @@ */ #include -#include - #endif