diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-07-19 13:50:38 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-07-19 13:50:38 +0200 |
commit | b87dfd2854809ddcf4be54d772752e7ed137386f (patch) | |
tree | d10a0446c375a2961223f12f553a51422bff553a /board/tqm5200/cmd_stk52xx.c | |
parent | f3e06df7e89a1b6ff6701d523b4beea6e3fa5159 (diff) | |
download | u-boot-imx-b87dfd2854809ddcf4be54d772752e7ed137386f.zip u-boot-imx-b87dfd2854809ddcf4be54d772752e7ed137386f.tar.gz u-boot-imx-b87dfd2854809ddcf4be54d772752e7ed137386f.tar.bz2 |
Add support for TB5200 board
The TB5200 ("Tinybox") is a small baseboard for the TQM5200 module
integrated in a little aluminium case.
Patch by Martin Krause, 8 Jun 2006
Some code cleanup
Diffstat (limited to 'board/tqm5200/cmd_stk52xx.c')
-rwxr-xr-x | board/tqm5200/cmd_stk52xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/tqm5200/cmd_stk52xx.c b/board/tqm5200/cmd_stk52xx.c index 8b9057f..2326a28 100755 --- a/board/tqm5200/cmd_stk52xx.c +++ b/board/tqm5200/cmd_stk52xx.c @@ -30,6 +30,7 @@ #include <command.h> #if (CONFIG_COMMANDS & CFG_CMD_BSP) +#if defined (CONFIG_STK52XX) #define DEFAULT_VOL 45 #define DEFAULT_FREQ 500 @@ -60,7 +61,6 @@ static int spi_transmit(unsigned char data); static void pcm1772_write_reg(unsigned char addr, unsigned char data); static void set_attenuation(unsigned char attenuation); -#ifdef CONFIG_STK52XX static void spi_init(void) { struct mpc5xxx_spi *spi = (struct mpc5xxx_spi*)MPC5XXX_SPI; |