diff options
author | Stefan Roese <sr@denx.de> | 2007-10-22 10:30:38 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-10-31 21:20:50 +0100 |
commit | 764e7417ee5f6e25b1715720e7d7dd3487109385 (patch) | |
tree | 66c6a025327fb80f6816508fb389b0f6b5cecee7 /cpu/ppc4xx/fdt.c | |
parent | 211ea91ac6c225bec7e668a03d0ba7d7310679fa (diff) | |
download | u-boot-imx-764e7417ee5f6e25b1715720e7d7dd3487109385.zip u-boot-imx-764e7417ee5f6e25b1715720e7d7dd3487109385.tar.gz u-boot-imx-764e7417ee5f6e25b1715720e7d7dd3487109385.tar.bz2 |
ppc4xx: Correct UART input clock calculation and passing to fdt
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx/fdt.c')
-rw-r--r-- | cpu/ppc4xx/fdt.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cpu/ppc4xx/fdt.c b/cpu/ppc4xx/fdt.c index 44e95a5..bf97c2a 100644 --- a/cpu/ppc4xx/fdt.c +++ b/cpu/ppc4xx/fdt.c @@ -85,11 +85,7 @@ static void do_fixup_uart(void *fdt, int offset, int i, bd_t *bd) debug("Updating node UART%d\n", i); -#if defined(CFG_EXT_SERIAL_CLOCK) - val = cpu_to_fdt32(CFG_EXT_SERIAL_CLOCK); -#else val = cpu_to_fdt32(sys_info.freqUART); -#endif rc = fdt_setprop(fdt, offset, "clock-frequency", &val, 4); if (rc) printf("Unable to update node UART, err=%s\n", fdt_strerror(rc)); |