10
#ifdef CONFIG_INIT_LCD
17
* Set up the usable of RAM stuff. Size of RAM is determined then
18
* an initial stack set up at the end.
30
#define RAMEND (CONFIG_RAMBASE + CONFIG_RAMSIZE)
32
#ifdef CONFIG_INIT_LCD
34
#include "bootlogo.rh"
39
_stext: movew #0x2700,%sr
40
#ifdef CONFIG_INIT_LCD
41
movel #splash_bits, 0xfffffA00 /* LSSA */
42
moveb #0x28, 0xfffffA05 /* LVPW */
43
movew #0x280, 0xFFFFFa08 /* LXMAX */
44
movew #0x1df, 0xFFFFFa0a /* LYMAX */
45
moveb #0, 0xfffffa29 /* LBAR */
46
moveb #0, 0xfffffa25 /* LPXCD */
47
moveb #0x08, 0xFFFFFa20 /* LPICF */
48
moveb #0x01, 0xFFFFFA21 /* -ve pol */
49
moveb #0x81, 0xfffffA27 /* LCKCON */
50
movew #0xff00, 0xfffff412 /* LCD pins */
52
moveal #RAMEND-CONFIG_MEMORY_RESERVE*0x100000 - 0x10, %sp
53
movew #32767, %d0 /* PLL settle wait loop */
57
/* Copy data segment from ROM to RAM */
62
/* Copy %a0 to %a1 until %a1 == %a2 */
69
/* Copy 0 to %a0 until %a0 == %a1 */
80
movel #RAMEND-CONFIG_MEMORY_RESERVE*0x100000, %d0
82
movel #CONFIG_VECTORBASE, %d0
86
* load the current task pointer and stack
88
lea init_thread_union, %a0
101
movew 0xfffff906, %d7