X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fconfigs%2Fgrsim_leon2.h;h=e5af9a6e97ffcb5d6e0b1e5906f7db2e242fbf84;hb=a55d074dac24dc941f1afb5b4e94b1509bfdda4e;hp=47f13d0bc126e34afea3e7e8aa37c251f7676522;hpb=8c8428a576f632745306e288b629e30d420c0f5a;p=oweals%2Fu-boot.git diff --git a/include/configs/grsim_leon2.h b/include/configs/grsim_leon2.h index 47f13d0bc1..e5af9a6e97 100644 --- a/include/configs/grsim_leon2.h +++ b/include/configs/grsim_leon2.h @@ -45,7 +45,7 @@ #define CONFIG_TSIM 1 /* ... running on TSIM */ /* CPU / AMBA BUS configuration */ -#define CONFIG_SYS_CLK_FREQ 40000000 /* 40MHz */ +#define CONFIG_SYS_CLK_FREQ 40000000 /* 40MHz */ /* Number of SPARC register windows */ #define CFG_SPARC_NWINDOWS 8 @@ -199,7 +199,7 @@ /*** CFI CONFIG ***/ #define CFG_FLASH_CFI_WIDTH FLASH_CFI_8BIT -#define CFG_FLASH_CFI_DRIVER +#define CONFIG_FLASH_CFI_DRIVER #define CFG_FLASH_CFI #endif @@ -313,8 +313,8 @@ /*** LEON2 UART 1 ***/ #define CFG_LEON2_UART1_SCALER \ - ((((CONFIG_SYS_CLK_FREQ*10)/(CONFIG_BAUDRATE*8))-5)/10) - + ((((CONFIG_SYS_CLK_FREQ*10)/(CONFIG_BAUDRATE*8))-5)/10) + /* UART1 Define to 1 or 0 */ #define LEON2_UART1_LOOPBACK_ENABLE 0 #define LEON2_UART1_FLOWCTRL_ENABLE 0 @@ -324,7 +324,7 @@ /*** LEON2 UART 2 ***/ #define CFG_LEON2_UART2_SCALER \ - ((((CONFIG_SYS_CLK_FREQ*10)/(CONFIG_BAUDRATE*8))-5)/10) + ((((CONFIG_SYS_CLK_FREQ*10)/(CONFIG_BAUDRATE*8))-5)/10) /* UART2 Define to 1 or 0 */ #define LEON2_UART2_LOOPBACK_ENABLE 0