From b8e16a3450fb9853a8b0ff617d70f1121b32c4c0 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 6 Oct 2005 23:44:55 +0200 Subject: Cleanup --- board/omap2420h4/omap2420h4.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'board/omap2420h4') diff --git a/board/omap2420h4/omap2420h4.c b/board/omap2420h4/omap2420h4.c index c729eca01..6ae1a490a 100644 --- a/board/omap2420h4/omap2420h4.c +++ b/board/omap2420h4/omap2420h4.c @@ -64,24 +64,6 @@ int board_init (void) return 0; } -/********************************************************** - * Routine: try_unlock_sram() - * Description: If chip is GP type, unlock the SRAM for - * general use. - ***********************************************************/ -void try_unlock_sram(void) -{ - int mode; - - /* if GP device unlock device SRAM for general use */ - mode = (__raw_readl(CONTROL_STATUS) & (BIT8|BIT9)); - if (mode == GP_DEVICE) { - __raw_writel(0xFF, A_REQINFOPERM0); - __raw_writel(0xCFDE, A_READPERM0); - __raw_writel(0xCFDE, A_WRITEPERM0); - } -} - /********************************************************** * Routine: try_unlock_sram() * Description: If chip is GP type, unlock the SRAM for -- cgit v1.2.3