]> git.sur5r.net Git - u-boot/commitdiff
muas3001: remove BRG clock node fixup to use common mpc8260 code.
authorMarcel Ziswiler <marcel@ziswiler.com>
Wed, 9 Sep 2009 19:11:18 +0000 (21:11 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 10 Sep 2009 21:11:50 +0000 (23:11 +0200)
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@noser.com>
Acked-by: Heiko Schocher <hs@denx.de>
board/muas3001/muas3001.c

index 8f83dd9af8eb419cba80ee923da74f5fc05ee12c..bf4ccb6e1901cd9e540c542d10502793cfa5464b 100644 (file)
@@ -310,7 +310,6 @@ void ft_blob_update (void *blob, bd_t *bd)
        int ret, nodeoffset = 0;
        ulong memory_data[2] = {0};
        ulong flash_data[4] = {0};
-       ulong freq = 0;
        ulong   speed = 0;
 
        memory_data[0] = cpu_to_be32 (bd->bi_memstart);
@@ -359,21 +358,6 @@ void ft_blob_update (void *blob, bd_t *bd)
                        "err:%s\n", fdt_strerror (nodeoffset));
        }
 
-       /* brg clock */
-       nodeoffset = fdt_path_offset (blob, "/soc/cpm/brg");
-       if (nodeoffset >= 0) {
-               freq = cpu_to_be32 (bd->bi_brgfreq);
-               ret = fdt_setprop (blob, nodeoffset, "clock-frequency", &freq,
-                                       sizeof (unsigned long));
-       if (ret < 0)
-               printf ("ft_blob_update): cannot set /soc/cpm/brg/clock-frequency "
-                       "property err:%s\n", fdt_strerror (ret));
-       } else {
-               /* memory node is required in dts */
-               printf ("ft_blob_update(): cannot find /soc/cpm/brg/clock-frequency node "
-                       "err:%s\n", fdt_strerror (nodeoffset));
-       }
-
        /* baudrate */
        nodeoffset = fdt_path_offset (blob, "/soc/cpm/serial");
        if (nodeoffset >= 0) {