Skip to content

Commit

Permalink
Move ec/ code to Rhesus platform
Browse files Browse the repository at this point in the history
The embedded controller that Rhesus uses is exclusive to that platform,
make it purely part of tha platform

Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
  • Loading branch information
stewartsmith authored and oohal committed Jul 19, 2019
1 parent 1a02a18 commit 067de39
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 20 deletions.
1 change: 0 additions & 1 deletion hw/Makefile.inc
Expand Up @@ -13,7 +13,6 @@ HW_OBJS += lpc-port80h.o
HW=hw/built-in.a

include $(SRC)/hw/fsp/Makefile.inc
include $(SRC)/hw/ec/Makefile.inc
include $(SRC)/hw/ast-bmc/Makefile.inc
include $(SRC)/hw/ipmi/Makefile.inc

Expand Down
8 changes: 0 additions & 8 deletions hw/ec/Makefile.inc

This file was deleted.

8 changes: 0 additions & 8 deletions hw/ec/makefile

This file was deleted.

2 changes: 1 addition & 1 deletion platforms/rhesus/Makefile.inc
@@ -1,6 +1,6 @@
SUBDIRS += $(PLATDIR)/rhesus

RHESUS_OBJS = rhesus.o
RHESUS_OBJS = rhesus.o gpio.o
RHESUS = $(PLATDIR)/rhesus/built-in.a
$(RHESUS): $(RHESUS_OBJS:%=$(PLATDIR)/rhesus/%)

File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions platforms/rhesus/rhesus.c
Expand Up @@ -25,8 +25,8 @@
#include <libflash/libffs.h>
#include <libflash/blocklevel.h>
#include <sfc-ctrl.h>
#include <ec/config.h>
#include <ec/gpio.h>
#include "ec/config.h"
#include "ec/gpio.h"

/*
* EC GPIO mapping
Expand Down

0 comments on commit 067de39

Please sign in to comment.