Skip to content

Commit

Permalink
Move Enable-jtag1-in-fblite-r1-dts patch from common to montblanc layer
Browse files Browse the repository at this point in the history
Summary:
Move Enable-jtag1-in-fblite-r1-dts.patch to montblanc layer because it's
only used by montblanc as of today.

Test Plan:
1) "bitbake montblanc-image" passed.
2) verified jtag master is initialized successfully after booting up
   montblanc image:

root@bmc-oob:~# ls /sys/bus/platform/devices/ahb/1e6e0000.apb/1e6e4100.jtag/
driver                                     of_node                                    tck
driver_override                            power                                      tdi
freq                                       sts                                        tdo
misc                                       subsystem                                  tms
modalias                                   supplier:platform:1e6e2000.syscon:pinctrl  uevent
root@bmc-oob:~# ls /dev/jtag0
/dev/jtag0

Reviewed By: Scott8440

Differential Revision: D62366070

fbshipit-source-id: 507728cfade6b1306c05f25a59a417dbe40a8a3d
  • Loading branch information
tao-ren authored and facebook-github-bot committed Sep 10, 2024
1 parent f6cdfea commit 8b2efa1
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
8 changes: 0 additions & 8 deletions common/recipes-kernel/linux/linux-patches-6.6.inc
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,6 @@ SRC_URI:append = " \
file://0301-Kernel6v5-Support-apml-driver.patch \
"

#
# Enable JTAG in "fblite-r1" dts (patch #0005) to support the recovery
# path (programming CPLD) in OpenBMC.
#
SRC_URI:append = " \
file://0310-ARM-dts-aspeed-Enable-jtag1-in-fblite-r1-dts.patch \
"

#
# hwmon: max31790: support to config PWM as TACH
#
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2020-present Facebook. All Rights Reserved.
#
# This program file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

FILESEXTRAPATHS:prepend := "${THISDIR}/patches_6.6:"

SRC_URI:append = " \
file://1001-ARM-dts-aspeed-Enable-jtag1-in-fblite-r1-dts.patch \
"

0 comments on commit 8b2efa1

Please sign in to comment.