| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the cJSON module to load in the GPIO definitions used by
the other skeleton code into a cJSON structure. Its memory
should be released by calling cJSON_Delete on it when complete.
This is the first commit in a series that will move the GPIO
configuration data from D-Bus into a JSON file, which is both
more appropriate for read only data and the first step in
getting rid of the system_manager.py file that currently hosts it.
Change-Id: If1ef19e7988d28e3075828f61e88a606631bcd89
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
| |
|
|
|
| |
Change-Id: I22382fbb19a077e333aba93ae81ae614ec0cb70a
Signed-off-by: Lei YU <mine260309@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a dbus call (in org.openbmc.managers.System) and C binding (in
libopenbmc-intf) to read a POWER_CONFIG from the Python system
configuration that abstracts GPIO functionality (power good, reset, etc)
from their net names in GPIO_CONFIG.
This should eventually replace machine-specific patches to op-pwrctl
that define their own power and reset lines.
Change-Id: I56eaaf60ef852b68124e4a765942243ad17d06ac
Signed-off-by: Xo Wang <xow@google.com>
|
| |
|
|
|
|
|
|
|
| |
Don't use rules.mk for libopenbmc_intf. There isn't enough
overlap here to warrant the extra complexity.
Fix an issue where the library is rebuilt for every make invocation.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
| |
|
|
|
|
|
|
|
| |
Create a libopenbmc_intf symlink in the build target to
enable things like:
-L ../libopenbmc_intf -lopenbmc_intf
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
| |
|
|
|
|
|
|
|
| |
Remove the interfaces prefix from applications including openbmc_intf.h.
Use brackets rather than quotes in prep for a libopenbmc_intf SDK
package.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
| |
|
|
|
|
| |
This allows 'make install' to be invoked more than once.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
| |
|
|
|
|
|
| |
Install the libopenbmc_intf includes in prep for a devel
package.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
| |
|
|
|
|
|
|
|
| |
Put required CFLAGS (ie pkg-config --cflags) in ALL_CFLAGS and append
user specified CFLAGS to that.
Use CFLAGS during link.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
Moving to directory per-application layout. This facilitates
building single applications which is useful in the Yocto build
environment since different applications satisfy different OpenBMC
build requirements.
A number of issues are also addressed:
- All applications were pulling in libsystemd and the gdbus libs
irrespective of whether or not they were needed.
- gpio.o duplicated in every application - moved to libopenbmc_intf
- Added install target
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|