diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-31 13:30:50 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-05 00:28:29 +0300 |
commit | d3f78932cf6b3063caceacdae9ddd6ca30d48786 (patch) | |
tree | 765de745d26798d7a37340d2851b86b57cda7eb8 /meta-openpower/common/recipes-bsp/pdbg | |
parent | f1ade61b5994799a4cffca0c124b2ed36e640cbf (diff) | |
download | openbmc-d3f78932cf6b3063caceacdae9ddd6ca30d48786.tar.xz |
meta-openpower: Move layer content from common/
Adopt a more conventional directory hierarchy. meta-openpower is still
a _long_ way from suitable for hosting on yoctoproject.org but things
like this don't help.
(From meta-openpower rev: 2c8db5661cecd7e4cc20bcb96df76490e62cfb67)
Change-Id: I415caaa28ec728f24e755ddb549012f24874fefe
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openpower/common/recipes-bsp/pdbg')
-rw-r--r-- | meta-openpower/common/recipes-bsp/pdbg/pdbg/0001-CFAM-reg-0x2918-access-hack.patch | 34 | ||||
-rw-r--r-- | meta-openpower/common/recipes-bsp/pdbg/pdbg_1.0.bb | 13 |
2 files changed, 0 insertions, 47 deletions
diff --git a/meta-openpower/common/recipes-bsp/pdbg/pdbg/0001-CFAM-reg-0x2918-access-hack.patch b/meta-openpower/common/recipes-bsp/pdbg/pdbg/0001-CFAM-reg-0x2918-access-hack.patch deleted file mode 100644 index dba62e3fe..000000000 --- a/meta-openpower/common/recipes-bsp/pdbg/pdbg/0001-CFAM-reg-0x2918-access-hack.patch +++ /dev/null @@ -1,34 +0,0 @@ -From e21d90ae8c131eae9d78e3d06f29cab55c952884 Mon Sep 17 00:00:00 2001 -From: Matt Spinler <spinler@us.ibm.com> -Date: Thu, 19 Jan 2017 09:06:48 -0600 -Subject: [PATCH] CFAM reg 0x2918 access hack - ---- - libpdbg/bmcfsi.c | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -diff --git a/libpdbg/bmcfsi.c b/libpdbg/bmcfsi.c -index 64dbd69..f763f2a 100644 ---- a/libpdbg/bmcfsi.c -+++ b/libpdbg/bmcfsi.c -@@ -247,7 +247,16 @@ static uint64_t fsi_abs_ar(uint32_t addr, int read) - /* Reformat the address. I'm not sure I fully understand this - * yet but we basically shift the bottom byte and add 0b01 - * (for the write word?) */ -- addr = ((addr & 0x1fff00) | ((addr & 0xff) << 2)) << 1; -+ -+ /* Hack: this shifting doesn't work for all addresses, but it does -+ * work for 2918 and (and 2nd chip 2918) so use it just for that */ -+ if ((addr == 0x2918) || (addr == 0x102918)) { -+ addr = ((addr & 0x1ffe00) | ((addr & 0x1ff) << 2)) << 1; -+ } -+ else { -+ addr = ((addr & 0x1fff00) | ((addr & 0xff) << 2)) << 1; -+ } -+ - addr |= 0x3; - addr |= slave_id << 26; - addr |= (0x8ULL | !!(read)) << 22; --- -2.11.0 - diff --git a/meta-openpower/common/recipes-bsp/pdbg/pdbg_1.0.bb b/meta-openpower/common/recipes-bsp/pdbg/pdbg_1.0.bb deleted file mode 100644 index 4d48a0ddf..000000000 --- a/meta-openpower/common/recipes-bsp/pdbg/pdbg_1.0.bb +++ /dev/null @@ -1,13 +0,0 @@ -SUMMARY = "PowerPC FSI Debugger" -DESCRIPTION = "pdbg allows JTAG-like debugging of the host POWER processors" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI += "git://github.com/open-power/pdbg.git;branch=master" -SRCREV = "3f1c06d62f81dfbfbb1723d15a6ff3c2f23708f1" - -DEPENDS += "dtc-native" - -S = "${WORKDIR}/git" - -inherit autotools |