From patchwork Thu Aug 20 13:58:38 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 42936 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n7KE27h1017510 for ; Thu, 20 Aug 2009 14:03:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754237AbZHTODM (ORCPT ); Thu, 20 Aug 2009 10:03:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754308AbZHTODM (ORCPT ); Thu, 20 Aug 2009 10:03:12 -0400 Received: from rv-out-0506.google.com ([209.85.198.237]:44289 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754237AbZHTODL (ORCPT ); Thu, 20 Aug 2009 10:03:11 -0400 Received: by rv-out-0506.google.com with SMTP id f6so1595329rvb.1 for ; Thu, 20 Aug 2009 07:03:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=RmlnbLODNzl6HGHKSz5O7NOhnV2wrYWSD4Fh5/UaYzE=; b=kdj4IlKatuqM8/ZCvc2BtNJsZ3Sk2VUQ8BSOU02W1hTDeIxptgbFWQZ17oiUdP9vQZ gxgHneALraf7VJqc7lVzURDhp64GC4eFrPMuBbhUm+jXuX+dfJQaz4WBw+ko7AFdTdo+ QWDuikWiukoM+5pVW0mYe2Q794sg3eBdwrwnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=tytQJSDy2WNN+JcxeQ8QkJEQd0Nk0rCvOEGnxbXsrqsdDFNMnXChnIQMLHG4N1E5hL ui7U9Hi74AcgZI1eqU0fmqEsuftNXKGIhQ68niyu+1c4oFxwJFLiQM3saHg58WyzlVeP Kc5b8g91M11vqgfjZRQDr4OV+yrncD9tvFSuY= Received: by 10.140.157.1 with SMTP id f1mr4494752rve.228.1250776992141; Thu, 20 Aug 2009 07:03:12 -0700 (PDT) Received: from rx1.opensource.se (210.5.32.202.bf.2iij.net [202.32.5.210]) by mx.google.com with ESMTPS id 20sm189774pzk.1.2009.08.20.07.03.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 20 Aug 2009 07:03:06 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Thu, 20 Aug 2009 22:58:38 +0900 Message-Id: <20090820135838.23989.86574.sendpatchset@rx1.opensource.se> Subject: [PATCH] sh: invalidate icache and tlbs during boot on kfr2r09 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm Add instruction cache and TLB invalidation code for the the kfr2r09 romimage target. Signed-off-by: Magnus Damm --- arch/sh/include/mach-kfr2r09/mach/partner-jet-setup.txt | 6 ++++++ 1 file changed, 6 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/sh/include/mach-kfr2r09/mach/partner-jet-setup.txt +++ work/arch/sh/include/mach-kfr2r09/mach/partner-jet-setup.txt 2009-08-20 13:21:57.000000000 +0900 @@ -16,6 +16,12 @@ LIST "--------------------------------" LIST "disable watchdog" EW 0xa4520004, 0xa507 +LIST "invalidate instruction cache" +ED 0xff00001c, 0x00000800 + +LIST "invalidate TLBs" +ED 0xff000010, 0x00000004 + LIST "select mode for cs5 + cs6" ED 0xff800020, 0xa5a50001 ED 0xfec10000, 0x0000001b