summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-19 22:02:35 +0300
committerTom Rini <trini@konsulko.com>2021-08-30 21:13:28 +0300
commitd1240b6ab2d23fbced6a894223e5ec5a4a35ae7f (patch)
treee5ae8b34d04da2391042a450bb5c415808dc34ab /board/freescale
parentb21f965bb055cd7eede411e489d886122c63d04a (diff)
downloadu-boot-d1240b6ab2d23fbced6a894223e5ec5a4a35ae7f.tar.xz
global: Remove dead code that starts with CONFIG_[0-9A]
This removes a number of spots of dead code based on symbols that start with CONFIG_[0-9] or CONFIG_A. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mpc8349emds/mpc8349emds.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/freescale/mpc8349emds/mpc8349emds.c b/board/freescale/mpc8349emds/mpc8349emds.c
index 5f38639afd..c4c7f528b5 100644
--- a/board/freescale/mpc8349emds/mpc8349emds.c
+++ b/board/freescale/mpc8349emds/mpc8349emds.c
@@ -50,8 +50,6 @@ int board_early_init_f (void)
return 0;
}
-#define ns2clk(ns) (ns / (1000000000 / CONFIG_8349_CLKIN) + 1)
-
int dram_init(void)
{
volatile immap_t *im = (immap_t *)CONFIG_SYS_IMMR;