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 <mark.cave-ayland@ilande.co.uk>
Acked-by: Helge Deller <deller@gmx.de>
Message-Id: <20220504092600.10048-47-mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  • 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
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
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.