Skip to content

Commit 485c90c

Browse files
opanait-wrtrini
authored andcommitted
common: remove bedbug debugger support
Commit 98f705c ("powerpc: remove 4xx support") removed (in 2017) the last code that made use of bedbug debugger support. Since there aren't any boards left that define either CONFIG_CMD_BEDBUG or a real bedbug_init(), drop this feature from u-boot. Signed-off-by: Ovidiu Panait <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Reviewed-by: Simon Glass <[email protected]>
1 parent 027b0e9 commit 485c90c

File tree

15 files changed

+1
-3230
lines changed

15 files changed

+1
-3230
lines changed

arch/powerpc/cpu/mpc83xx/traps.c

-7
Original file line numberDiff line numberDiff line change
@@ -204,15 +204,8 @@ void UnknownException(struct pt_regs *regs)
204204
_exception(0, regs);
205205
}
206206

207-
#if defined(CONFIG_CMD_BEDBUG)
208-
extern void do_bedbug_breakpoint(struct pt_regs *);
209-
#endif
210-
211207
void DebugException(struct pt_regs *regs)
212208
{
213209
printf("Debugger trap at @ %lx\n", regs->nip );
214210
show_regs(regs);
215-
#if defined(CONFIG_CMD_BEDBUG)
216-
do_bedbug_breakpoint( regs );
217-
#endif
218211
}

arch/powerpc/cpu/mpc85xx/traps.c

-7
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ static __inline__ unsigned long get_esr(void)
6060
#define ESR_DIZ 0x00400000
6161
#define ESR_U0F 0x00008000
6262

63-
#if defined(CONFIG_CMD_BEDBUG)
64-
extern void do_bedbug_breakpoint(struct pt_regs *);
65-
#endif
66-
6763
/*
6864
* Trap & Exception support
6965
*/
@@ -285,7 +281,4 @@ void DebugException(struct pt_regs *regs)
285281
{
286282
printf("Debugger trap at @ %lx\n", regs->nip );
287283
show_regs(regs);
288-
#if defined(CONFIG_CMD_BEDBUG)
289-
do_bedbug_breakpoint( regs );
290-
#endif
291284
}

cmd/Kconfig

-7
Original file line numberDiff line numberDiff line change
@@ -2324,13 +2324,6 @@ endmenu
23242324

23252325
menu "Debug commands"
23262326

2327-
config CMD_BEDBUG
2328-
bool "bedbug"
2329-
help
2330-
The bedbug (emBEDded deBUGger) command provides debugging features
2331-
for some PowerPC processors. For details please see the
2332-
documentation in doc/README.bedbug.
2333-
23342327
config CMD_CBSYSINFO
23352328
bool "cbsysinfo"
23362329
depends on X86

cmd/Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ obj-$(CONFIG_HAVE_BLOCK_DEVICE) += blk_common.o
2222
obj-$(CONFIG_CMD_SOURCE) += source.o
2323
obj-$(CONFIG_CMD_BCB) += bcb.o
2424
obj-$(CONFIG_CMD_BDI) += bdinfo.o
25-
obj-$(CONFIG_CMD_BEDBUG) += bedbug.o
2625
obj-$(CONFIG_CMD_BIND) += bind.o
2726
obj-$(CONFIG_CMD_BINOP) += binop.o
2827
obj-$(CONFIG_CMD_BLOBLIST) += bloblist.o

0 commit comments

Comments
 (0)