diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-06 23:44:55 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-06 23:44:55 +0200 |
commit | b8e16a3450fb9853a8b0ff617d70f1121b32c4c0 (patch) | |
tree | 26a0c89b61db362f3a5a83525f9686459b338c99 /board/omap2420h4 | |
parent | 64db4b10a532263dccd2b30c0ddb863b774ec473 (diff) | |
download | u-boot-imx-b8e16a3450fb9853a8b0ff617d70f1121b32c4c0.zip u-boot-imx-b8e16a3450fb9853a8b0ff617d70f1121b32c4c0.tar.gz u-boot-imx-b8e16a3450fb9853a8b0ff617d70f1121b32c4c0.tar.bz2 |
Cleanup
Diffstat (limited to 'board/omap2420h4')
-rw-r--r-- | board/omap2420h4/omap2420h4.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/board/omap2420h4/omap2420h4.c b/board/omap2420h4/omap2420h4.c index c729eca..6ae1a49 100644 --- a/board/omap2420h4/omap2420h4.c +++ b/board/omap2420h4/omap2420h4.c @@ -71,24 +71,6 @@ int board_init (void) ***********************************************************/ 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 - * general use. - ***********************************************************/ -void try_unlock_sram(void) -{ /* if GP device unlock device SRAM for general use */ if (get_device_type() == GP_DEVICE) { __raw_writel(0xFF, A_REQINFOPERM0); |