From 092c340a2062fa98b7387fc5fd63578ddae7d0b6 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 15 Jul 2020 19:40:55 -0400 Subject: [1/4] Remove SH support and all archos targets This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061 --- apps/main.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'apps/main.c') diff --git a/apps/main.c b/apps/main.c index 208dced923..fe15675c69 100644 --- a/apps/main.c +++ b/apps/main.c @@ -418,10 +418,6 @@ static void init(void) { int rc; bool mounted = false; -#if CONFIG_CHARGING && (CONFIG_CPU == SH7034) - /* if nobody initialized ATA before, I consider this a cold start */ - bool coldstart = (PACR2 & 0x4000) != 0; /* starting from Flash */ -#endif system_init(); core_allocator_init(); @@ -528,24 +524,6 @@ static void init(void) viewportmanager_init(); CHART("storage_init"); rc = storage_init(); CHART("