Skip to content

Commit

Permalink
hppa: move enable_lan() define from hppa_sys.h to machine.c
Browse files Browse the repository at this point in the history
Now that the board configuration is in one place, the define is only needed when
wiring up the board in machine.c.

Signed-off-by: Mark Cave-Ayland <[email protected]>
Acked-by: Helge Deller <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Mark Cave-Ayland <[email protected]>
  • Loading branch information
mcayland committed May 8, 2022
1 parent 192e322 commit 932befa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hw/hppa/hppa_sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@

#include "hppa_hardware.h"

#define enable_lasi_lan() 0

#endif
3 changes: 3 additions & 0 deletions hw/hppa/machine.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@

#define HPA_POWER_BUTTON (FIRMWARE_END - 0x10)

#define enable_lasi_lan() 0


static void hppa_powerdown_req(Notifier *n, void *opaque)
{
hwaddr soft_power_reg = HPA_POWER_BUTTON;
Expand Down

0 comments on commit 932befa

Please sign in to comment.