summaryrefslogtreecommitdiffstats
path: root/board/tqm5200/cmd_stk52xx.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-07-19 13:50:38 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-07-19 13:50:38 +0200
commitb87dfd2854809ddcf4be54d772752e7ed137386f (patch)
treed10a0446c375a2961223f12f553a51422bff553a /board/tqm5200/cmd_stk52xx.c
parentf3e06df7e89a1b6ff6701d523b4beea6e3fa5159 (diff)
downloadblackbird-obmc-uboot-b87dfd2854809ddcf4be54d772752e7ed137386f.tar.gz
blackbird-obmc-uboot-b87dfd2854809ddcf4be54d772752e7ed137386f.zip
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-xboard/tqm5200/cmd_stk52xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/tqm5200/cmd_stk52xx.c b/board/tqm5200/cmd_stk52xx.c
index 8b9057f503..2326a289c3 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;
OpenPOWER on IntegriCloud