Skip to content

Commit

Permalink
common: remove bedbug debugger support
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
opanait-wr authored and trini committed Jan 18, 2022
1 parent 027b0e9 commit 485c90c
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 3,230 deletions.
7 changes: 0 additions & 7 deletions arch/powerpc/cpu/mpc83xx/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,8 @@ void UnknownException(struct pt_regs *regs)
_exception(0, regs);
}

#if defined(CONFIG_CMD_BEDBUG)
extern void do_bedbug_breakpoint(struct pt_regs *);
#endif

void DebugException(struct pt_regs *regs)
{
printf("Debugger trap at @ %lx\n", regs->nip );
show_regs(regs);
#if defined(CONFIG_CMD_BEDBUG)
do_bedbug_breakpoint( regs );
#endif
}
7 changes: 0 additions & 7 deletions arch/powerpc/cpu/mpc85xx/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ static __inline__ unsigned long get_esr(void)
#define ESR_DIZ 0x00400000
#define ESR_U0F 0x00008000

#if defined(CONFIG_CMD_BEDBUG)
extern void do_bedbug_breakpoint(struct pt_regs *);
#endif

/*
* Trap & Exception support
*/
Expand Down Expand Up @@ -285,7 +281,4 @@ void DebugException(struct pt_regs *regs)
{
printf("Debugger trap at @ %lx\n", regs->nip );
show_regs(regs);
#if defined(CONFIG_CMD_BEDBUG)
do_bedbug_breakpoint( regs );
#endif
}
7 changes: 0 additions & 7 deletions cmd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2324,13 +2324,6 @@ endmenu

menu "Debug commands"

config CMD_BEDBUG
bool "bedbug"
help
The bedbug (emBEDded deBUGger) command provides debugging features
for some PowerPC processors. For details please see the
documentation in doc/README.bedbug.

config CMD_CBSYSINFO
bool "cbsysinfo"
depends on X86
Expand Down
1 change: 0 additions & 1 deletion cmd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ obj-$(CONFIG_HAVE_BLOCK_DEVICE) += blk_common.o
obj-$(CONFIG_CMD_SOURCE) += source.o
obj-$(CONFIG_CMD_BCB) += bcb.o
obj-$(CONFIG_CMD_BDI) += bdinfo.o
obj-$(CONFIG_CMD_BEDBUG) += bedbug.o
obj-$(CONFIG_CMD_BIND) += bind.o
obj-$(CONFIG_CMD_BINOP) += binop.o
obj-$(CONFIG_CMD_BLOBLIST) += bloblist.o
Expand Down
Loading

0 comments on commit 485c90c

Please sign in to comment.