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)
34 _stext: movew #0x2700,%sr
35 #ifdef CONFIG_INIT_LCD
36 movel #bootlogo_bits, 0xfffffA00 /* LSSA */
37 moveb #0x28, 0xfffffA05 /* LVPW */
38 movew #0x280, 0xFFFFFa08 /* LXMAX */
39 movew #0x1df, 0xFFFFFa0a /* LYMAX */
40 moveb #0, 0xfffffa29 /* LBAR */
41 moveb #0, 0xfffffa25 /* LPXCD */
42 moveb #0x08, 0xFFFFFa20 /* LPICF */
43 moveb #0x01, 0xFFFFFA21 /* -ve pol */
44 moveb #0x81, 0xfffffA27 /* LCKCON */
45 movew #0xff00, 0xfffff412 /* LCD pins */
47 moveal #RAMEND-CONFIG_MEMORY_RESERVE*0x100000 - 0x10, %sp
48 movew #32767, %d0 /* PLL settle wait loop */
52 /* Copy data segment from ROM to RAM */
57 /* Copy %a0 to %a1 until %a1 == %a2 */
64 /* Copy 0 to %a0 until %a0 == %a1 */
75 movel #RAMEND-CONFIG_MEMORY_RESERVE*0x100000, %d0
77 movel #CONFIG_VECTORBASE, %d0
81 * load the current task pointer and stack
83 lea init_thread_union, %a0