fdt: Drop remaining preprocessor macros in fdtdec_setup()
[platform/kernel/u-boot.git] / doc / README.bedbug
1 BEDBUG Support for U-Boot
2 --------------------------
3
4 These changes implement the bedbug (emBEDded deBUGger) debugger in U-Boot.
5
6 #####################
7 ### Modifications ###
8 #####################
9
10 ./common/Makefile
11         Included cmd_bedbug.c and bedbug.c in the Makefile.
12
13 ./common/board.c
14         Added call to initialize debugger on startup.
15
16 ./include/ppc_asm.tmpl
17         Added code to handle critical exceptions
18
19 #################
20 ### New Stuff ###
21 #################
22
23 ./include/bedbug/ppc.h
24 ./include/bedbug/regs.h
25 ./include/bedbug/bedbug.h
26 ./include/bedbug/elf.h          [obsoleted by new include/elf.h]
27 ./include/bedbug/tables.h
28 ./include/cmd_bedbug.h
29 ./common/cmd_bedbug.c
30 ./common/bedbug.c
31         Bedbug library includes code for assembling and disassembling
32         PowerPC instructions to/from memory as well as handling
33         hardware breakpoints and stepping through code.  These
34         routines are common to all PowerPC processors.
35
36 Bedbug support for the MPC860
37 -----------------------------
38
39 Changes:
40
41         common/cmd_bedbug.c
42                 Added call to initialize 860 debugger.
43
44         arch/powerpc/cpu/mpc8xx/Makefile
45                 Added new file "bedbug_860.c" to the makefile
46
47         arch/powerpc/cpu/mpc8xx/start.S
48                 Added handler for InstructionBreakpoint (0xfd00)
49
50         arch/powerpc/cpu/mpc8xx/traps.c
51                 Added new routine DebugException()
52
53 New Files:
54
55         arch/powerpc/cpu/mpc8xx/bedbug_860.c
56                 CPU-specific routines for 860 debug registers.