]> git.sur5r.net Git - u-boot/blobdiff - board/trab/trab_fkt.c
fsl_pci: create a SET_STD_PCI_INFO() helper wrapper
[u-boot] / board / trab / trab_fkt.c
index 93b9490e1ce385436544609fc5641d672ff66bdd..74cdbfcbf466e7cd34ea93bcab83bd1d141a36cc 100644 (file)
@@ -294,6 +294,12 @@ int trab_fkt (int argc, char *argv[])
        return 1;
 }
 
+void hang (void)
+{
+       puts ("### ERROR ### Please RESET the board ###\n");
+       for (;;);
+}
+
 int do_info (void)
 {
        printf ("Stand-alone application for TRAB board function test\n");
@@ -723,7 +729,7 @@ int do_dac (char **argv)
        int brightness;
 
        /* initialize SPI */
-       spi_init ();
+       tsc2000_spi_init ();
 
        if  (((brightness = simple_strtoul (argv[2], NULL, 10)) < 0) ||
             (brightness > 255)) {