davinci: display correct clock info
Move the clock-rate dumping code into the cpu/.../davinci area where it should have been, enabled by CONFIG_DISPLAY_CPUINFO, updating the format and showing the DSP clock (where relevant). Switch boards to use the cpuinfo() hook for this stuff. Remove a few now-obsolete PLL #defines. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
committed by
Wolfgang Denk
parent
daea928829
commit
7a4f511b59
@@ -175,11 +175,6 @@ void davinci_errata_workarounds(void);
|
||||
|
||||
#define PSC_SILVER_BULLET (0x01c41a20)
|
||||
|
||||
/* Some PLL defines */
|
||||
#define PLL1_PLLM (0x01c40910)
|
||||
#define PLL2_PLLM (0x01c40d10)
|
||||
#define PLL2_DIV2 (0x01c40d1c)
|
||||
|
||||
/* Miscellania... */
|
||||
#define VBPR (0x20000020)
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
#define DV_EVM
|
||||
#define CONFIG_SYS_NAND_SMALLPAGE
|
||||
#define CONFIG_SYS_USE_NOR
|
||||
#define CONFIG_DISPLAY_CPUINFO
|
||||
/*===================*/
|
||||
/* SoC Configuration */
|
||||
/*===================*/
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#define SCHMOOGIE
|
||||
#define CONFIG_SYS_NAND_LARGEPAGE
|
||||
#define CONFIG_SYS_USE_NAND
|
||||
#define CONFIG_DISPLAY_CPUINFO
|
||||
/*===================*/
|
||||
/* SoC Configuration */
|
||||
/*===================*/
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
#define SFFSDR
|
||||
#define CONFIG_SYS_NAND_LARGEPAGE
|
||||
#define CONFIG_SYS_USE_NAND
|
||||
#define CONFIG_SYS_USE_DSPLINK /* This is to prevent U-Boot from
|
||||
* powering ON the DSP. */
|
||||
#define CONFIG_SYS_USE_DSPLINK /* don't power up the DSP. */
|
||||
#define CONFIG_DISPLAY_CPUINFO
|
||||
/* SoC Configuration */
|
||||
#define CONFIG_ARM926EJS /* arm926ejs CPU core */
|
||||
#define CONFIG_SYS_TIMERBASE 0x01c21400 /* use timer 0 */
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
#define SONATA_BOARD
|
||||
#define CONFIG_SYS_NAND_SMALLPAGE
|
||||
#define CONFIG_SYS_USE_NOR
|
||||
#define CONFIG_DISPLAY_CPUINFO
|
||||
/*===================*/
|
||||
/* SoC Configuration */
|
||||
/*===================*/
|
||||
|
||||
Reference in New Issue
Block a user