/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved. */ #include <linux/timer.h> #include <linux/io.h> #include <asm/mips-boards/generic.h> static unsigned int display_count; static unsigned int max_display_count; #define LCD_DISPLAY_POS_BASE 0x1f000400 #define DISPLAY_LCDINSTRUCTION (0*2) #define DISPLAY_LCDDATA (1*2) #define DISPLAY_CPLDSTATUS (2*2) #define DISPLAY_CPLDDATA (3*2) #define LCD_SETDDRAM 0x80 #define LCD_IR_BF 0x80 const char display_string[] = " LINUX ON SEAD3 "; static void scroll_display_message(unsigned long data); static DEFINE_TIMER(mips_scroll_timer, scroll_display_message, HZ, 0);
static void lcd_wait(unsigned int __iomem *display) { /* Wait for CPLD state machine to become idle. */ do { } while (__raw_readl(display + DISPLAY_CPLDSTATUS) & 1); do { __raw_readl(display + DISPLAY_LCDINSTRUCTION); /* Wait for CPLD state machine to become idle. */ do { } while (__raw_readl(display + DISPLAY_CPLDSTATUS) & 1); } while (__raw_readl(display + DISPLAY_CPLDDATA) & LCD_IR_BF); }Contributors
| Person | Tokens | Prop | Commits | CommitProp | |
| steven j. hill | steven j. hill | 64 | 100.00% | 1 | 100.00% |
| Total | 64 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| steven j. hill | steven j. hill | 113 | 100.00% | 1 | 100.00% |
| Total | 113 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| steven j. hill | steven j. hill | 40 | 100.00% | 1 | 100.00% |
| Total | 40 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| steven j. hill | steven j. hill | 34 | 100.00% | 1 | 100.00% |
| Total | 34 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| steven j. hill | steven j. hill | 326 | 99.69% | 1 | 50.00% |
| ralf baechle | ralf baechle | 1 | 0.31% | 1 | 50.00% |
| Total | 327 | 100.00% | 2 | 100.00% |