summaryrefslogtreecommitdiff
path: root/meta-nuvoton
AgeCommit message (Collapse)AuthorFilesLines
2022-10-10meta-nuvoton: npcm8xx-igps patch refreshAnthony1-28/+29
https://gerrit.openbmc.org/c/openbmc/openbmc/+/55099 added npcm8xx-igps together with a patch, and later npcm8xx-igps SRCREV was bumped in https://gerrit.openbmc.org/c/openbmc/openbmc/+/57109, but the patch was not refreshed. This would cause fuzz detected. Change-Id: Iaeaf5aa8091b347039ed4cfa187e252e60660f00 Signed-off-by: Anthony <anthonyhkf@google.com>
2022-10-06meta-nuvoton: trusted-firmware-a: add no-warn-rwx-segments for fixing build ↵Tim Lee1-0/+3
break Due to the changes in binutils, when there is any warning during the linking, it would be treated as a fatal error, breaking the compilation. Similar fix is added in https://github.com/OP-TEE/optee_os/pull/5474 Optee-os already apply patch in optee/optee-os/0008-no-warn-rwx-segments.patch Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I4a6a688a0fc1c928092d3f6750e79fd8dc23afe7
2022-10-01meta-nuvoton: upgrade npcm8xx-bootblock to v0.2.3Tim Lee1-26/+26
Version 0.2.3 - Sep 20 2022: 1. MC: set bit 8 for DLL reset after writing to MRS registers. 2. Flash: remove scan for uboot. 3. Remove FIU driver (not used). Tested: build pass and boot up successful >================================================ > Arbel A35 BootBlock by Nuvoton Technology Corp. Ver 0.2.3 >================================================ Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I271318595382795153b24e646bdd56d087e1eabc
2022-09-30add langdale to compatible layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
2022-09-27meta-nuvoton: add support to generate full flash image for npcm8xxTim Lee2-0/+102
Nuvoton's npcm8xx full flash image includes TIP FW, Bootblock, ATF, OPTEE and UBOOT with headers. Generating headers and merging images are being done by Nuvoton's binary generator tool (Bingo) which uses external parameters from XML files for that. Thus, we need to add related fitimage and image type for npcm8xx. However, before merge this commit, we must wait for below commits were merged. meta-nuvoton: arm-trusted-firmware: add arm trusted firmware recipe https://gerrit.openbmc.org/c/openbmc/openbmc/+/55234 meta-nuvoton: add npcm8xx-bootblock recipe https://gerrit.openbmc.org/c/openbmc/openbmc/+/55117 meta-nuvoton: add npcm8xx-igps recipe https://gerrit.openbmc.org/c/openbmc/openbmc/+/55099 meta-nuvoton: npcm7xx-bingo: upgrade latest version 0.0.5 support Arbel https://gerrit.openbmc.org/c/openbmc/openbmc/+/55128 Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I4599e39d3873f07cde6904d0f10161964fc45c7a
2022-09-24meta-nuvoton: optee: add optee recipeTim Lee2-0/+23
Add optee-os and optee-os-tadevkit bbappend version 3.18.0 base for Nuvoton npcm8xx SOC Change-Id: I0d3dae985f53f250fbfbc28c431b0e4532f828e8 Signed-off-by: Tim Lee <timlee660101@gmail.com>
2022-09-21meta-nuvoton: arm-trusted-firmware: add arm trusted firmware recipeTim Lee3-0/+21
Add for supporting Nuvoton npcm8xx SOC. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: Ib402cb769f3e97abc05eeb8d147d3f7f3fd71f0a
2022-09-20meta-nuvoton: OWNERS: add Dhananjay to reviewersPatrick Williams1-0/+1
Dhananjay asked me to add him to the reviewers list for meta-nuvoton. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id9fae80ece5fceef4630e8c05a5c9a08147a2bb4
2022-09-15meta-nuvoton: upgrade npcm8xx-igps recipeTim Lee1-11/+2
Upgrade IGPS from 03.06.02 to 03.06.04 and remove duplicate deploy Previous npcm8xx-ipgs recipe will deploy BB and TIPFW binary. However, BB and TIPFW recipes already were merged recently. They will do their own deploy task individually. Thus, we should remove duplicate deploy in igps recipe. IGPS 03.06.04 - Aug 14 2022 ============== - TIP_FW 0.4.1 L0 0.2.6 L1 * flash driver bug fixes. * Core reset bug fix: CORSTC: set to 1s, except MC bit * Do not continue if BMC fail to boot. * RESSR: copy values from TIP_SCR1 to INTCR2. Print last reset type. * OEM: read 2 bytes from OTP (was 1). - Bootblock is alligned to 512KB. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: Id0b7336f0b2ada9e43385d635f3e3536a70aad8d
2022-09-09meta-nuvoton: point at 5.15 treePatrick Williams1-3/+3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iff75df9a12e83e0f480118f4c867ac5cba96a986
2022-08-19meta-nuvoton: add npcm8xx-tip-fw recipeTim Lee1-0/+26
The Arbel NPCM8XX requires a TIP FW image which handles various security tasks. Releases/TIP_FW_L0_0.4.1_L1_0.2.6 version: 1. Flash driver bug fixes. 2. Bug fix CS1 slew rate. 3. Print all SFDP info. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I54c0c7b46972b7a261c5d8c73472ae57c2346fb7
2022-08-16meta-nuvoton: npcm8xx-bootblock: add npcm8xx-bootblock recipeTim Lee1-0/+26
The Arbel NPCM8XX requires a bootblock image that will initiate the DRAM and basic HW settings. First release constrains only binaries. Version is A35_BootBlock_0.2.2 Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: Ia5904dca98c44df8ed4c2af6f599965ccfd4aec2
2022-08-01meta-nuvoton: add npcm8xx-igps recipeTim Lee2-0/+256
IGPS 03.06.02 - Jul 24 2022 ============== - Restore Z1 XMLs. - Bug fix ReplaceComponent.bat - Add fiu clk dividers fields to Bootblock header xml. - TIP FW: 0.3.9 L0 0.2.4 L1: - virtual flash bug fix: use memcy instead of tip_memcpy. - shared attestation hash is 512. - tip_mbx bug fixes. - tip_combo: return early if failed to find image. - init WD0RCR, 2, 3 before BMC starts. - check load and verify return status. if verify tip images fail in secure boot, restart. - Bootblock: 0.2.2 - Fix GMMAP value for 2GB and 512MB. - Add 3 FIU dividers to the the header (require IGPS 3.6.2 and above) - Bug fix: add support for ODT termination of zero (termination disabled). - Print pass\fail criteria for sweeps. Need to enable debug prints to use. Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: Ibd19031adf33d6a6ec5ada905490ba50c92e1948
2022-07-30meta-nuvoton: npcm7xx-bingo: upgrade latest version 0.0.5 support ArbelTim Lee1-1/+1
It is also backward compatible for Poleg. Tali Perry (5): First release version 0.0.2 Makefile on root bingo: add npcm8xx fields support Update README: version 0.0.5 for Arbel bingo 0.0.5 Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: Ieeaaae338971f3e1f2ed20746089e72560b5e76f
2022-07-29meta-nuvoton: add Peter D as reviewerPatrick Williams1-0/+3
Peter D has been doing some early prototype work for Meta with the Nuvoton hardware. Adding him as a reviewer to the meta. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0123a516c5fbedaf65ef032409b9c7d4c075a9b4
2022-07-14meta-nuvoton: u-boot-nuvoton: upgrade v2019.01 -> v2021.04Tim Lee1-3/+3
Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I5922de3f0f28932e212f0b5f0d7d6b92af6c0c9f
2022-05-26meta-nuvoton: linux: remove SYSFS_DEPRECATEDBrian Ma1-2/+0
SYSFS_DEPRECATED and SYSFS_DEPRECATED_V2 is no longer needed. Signed-off-by: Brian Ma <chma0@nuvoton.com> Change-Id: Ie2920b37db6c81a4e5cce067d39aad564fc4aadd
2022-04-30treewide: fix GPLv2/LGPLv2.1 obsolete-license warningsPatrick Williams5-5/+5
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I746b04e1e36abaf2ff3852beb8a04535692442c1
2022-04-21treewide: fix GPLv2+ obsolete-license warningsPatrick Williams1-1/+1
The LICENSE string 'GPLv2+' is considered obsolete by Yocto and raises a warning. Switch them too the accepted tag 'GPL-2.0-or-later'. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I88c639dbb45762e2e019a3503f1f1930b65c09d6
2022-03-31meta-nuvoton: u-boot-nuvoton: srcrev bump ab1fb4143e...3f1e85ef94Charles Boyer1-1/+1
Charles Boyer (1): Add Fii Mori project DTS and DTSI files Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I8fe7a6cb0d9bc036cebc2dc223181961f96b4a7e
2022-02-26treewide: support yocto kirkstone releasePatrick Williams1-1/+1
* Deprecate N-1 release (hardknott). * Enable N+1 release (kirkstone). Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
2022-02-22treewide: remove MAINTAINERSPatrick Williams1-52/+0
The MAINTAINERS files are no longer used and are out of date (references to IRC still exist in most of them). Remove them and rely on the OWNERS exclusively. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0f5d2719ad97e218ce03c4503efe1b1c92ac455e
2022-01-31meta-nuvoton: u-boot-nuvoton: srcrev bump 7578a59e96...ab1fb4143eMustafa Shehabi1-1/+1
Mustafa Shehabi (1): dts: npcm730 kudo: update GPIO203 in dtsi Change-Id: I832de8218da185428661edee55a21aed3828257f Signed-off-by: Mustafa Shehabi <mustafa.shehabi@fii-na.com>
2022-01-28meta-nuvoton: svf: Fix minor QA warningPeter Foley1-1/+1
e.g. WARNING: /opt/openbmc/meta-nuvoton/recipes-nuvoton/loadsvf/loadsvf_git.bb: Recipe loadsvf sets S variable with trailing slash '/opt/openbmc/build/gsj/tmp/work/armv7a-openbmc-linux-gnueabi/loadsvf/git-r1/git/', remove it Signed-off-by: Peter Foley <pefoley@google.com> Change-Id: Idcfa1306b54ad921519cb2a41f9ccb36f8bb26ac
2022-01-25treewide: fix up github SRC_URIsPatrick Williams5-5/+5
Per [1], Yocto is going to start requiring both branch names and `protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to automatically fix our URIs. 1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
2021-12-21meta-nuvoton: u-boot-nuvoton: srcrev bump c11d9a81ea...7578a59e96Fran Hsu1-1/+1
Stanley Chu (1): driver: i2c-npcm7xx: extend the timeout of ack cycle on receving. Fran Hsu (1): dts: npcm730 GSZ: update the GPIO default setting. Signed-off-by: Fran Hsu <fran.hsu@quantatw.com> Change-Id: Ia2ae99c32dd77255f1bba5b4ccc757fdd5a31469
2021-11-04Partially revert "treewide: remove obmc-system-mgmt feature"Patrick Williams1-0/+1
The obmc-system-mgmt feature is currently used in the image to trigger inclusion of a virtual-provider which provides a number of packages many systems need. Partially revert the removal of this feature so that the outcome is: 1. The empty obmc-phosphor-sysd package is still removed. 2. By default the 'obmc-system-mgmt' feature is included, unless specifically exempted. 3. All EVB platforms remove the 'obmc-system-mgmt' feature since they have no system they are managing. This partially reverts commit 060ad3ff7fcc30aff78a9e504efee9d8fa0d4526. Tested: * Built `bletchley` and confirmed `packagegroup-fb-apps-system` and `entity-manager` are present. ``` entity-manager armv7ahf-vfpv4d16 0.1+git0+6bf41588ab-r0 packagegroup-fb-apps-system all 1.0-r1 ``` * Built `witherspoon` and confirmed `packagegroup-op-apps-system` and `pdbg` are present. ``` packagegroup-op-apps-system noarch 1.0 pdbg arm1176jzs 3.3 ``` * Ran `bitbake -p` on `evb-ast2600` to confirm the undefined `virtual-obmc-system-mgmt` is not being included in the image. Change-Id: I8b7804d5101cc84a2c57473b3f85672bf7767c67 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-09-21linux-openbmc: Move to Linux v5.14Joel Stanley1-3/+3
This moves the OpeNBMC kernel to a v5.14 base. There are 78 patches in the tree, plus a the MCTP core and device tree changes that were merged in v5.15 which have been backported. Andrew Jeffery (11): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): Use driver callbacks in pmbus_get_fan_rate() pmbus (core): One-shot retries for failure to set page pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers ARM: dts: aspeed: witherspoon: Update max31785 node ipmi: kcs_bmc: Add a "raw" character device interface ARM: dts: p10bmc: Drop the openbmc, mctp-lpc node ARM: dts: aspeed: p10bmc: Switch to KCS 3 for MCTP binding ARM: dts: aspeed: p10bmc: Enable KCS channel 2 ARM: dts: tacoma: Clean up KCS nodes B. J. Wyman (2): ARM: dts: aspeed: Rainier remove PSU gpio-keys hwmon: (pmbus/ibm-cffps) Fix write bits for LED control Brad Bishop (3): ipmi: aspeed-g6: Add compatible strings reset: simple: Add AST2600 compatibility string eeprom: at25: Split reads into chunks and cap write size Cédric Le Goater (19): mtd: spi-nor: aspeed: use command mode for reads mtd: spi-nor: aspeed: add support for SPI dual IO read mode mtd: spi-nor: aspeed: link controller with the ahb clock mtd: spi-nor: aspeed: optimize read mode mtd: spi-nor: aspeed: limit the maximum SPI frequency mtd: spi-nor: aspeed: introduce a aspeed_smc_default_read() helper mtd: spi-nor: aspeed: clarify 4BYTE address mode mask mtd: spi-nor: aspeed: use memcpy_fromio() to capture the optimization buffer mtd: spi-nor: aspeed: add support for the 4B opcodes mtd: spi-nor: Add support for w25q512jv mtd: spi-nor: aspeed: Introduce a field for the AHB physical address mtd: spi-nor: aspeed: Introduce segment operations mtd: spi-nor: aspeed: add initial support for ast2600 mtd: spi-nor: aspeed: Check for disabled segments on the AST2600 mtd: spi-nor: aspeed: Introduce training operations per platform mtd: spi-nor: aspeed: Introduce a HCLK mask for training mtd: spi-nor: aspeed: check upper freq limit when doing training mtd: spi-nor: aspeed: add support for AST2600 training /dev/mem: add a devmem kernel parameter to activate the device Eddie James (11): dt-bindings: soc: Add Aspeed XDMA Engine soc: aspeed: Add XDMA Engine Driver soc: aspeed: xdma: Add user interface soc: aspeed: xdma: Add reset ioctl dt-bindings: input: Add documentation for IBM Operation Panel input: misc: Add IBM Operation Panel driver ARM: dts: aspeed: tacoma: Remove CFAM reset GPIO spi: fsi: Reduce max transfer size to 8 bytes dt-bindings: fsi: Remove ibm,fsi2spi-restricted compatible fsi: occ: Force sequence numbering per OCC hwmon: (occ) Remove sequence numbering and checksum calculation Fran Hsu (2): ARM: dts: nuvoton: npcm730: Add UDC device ARM: dts: nuvoton: gsj: Add non-mainline nodes George Hung (2): dt-binding: edac: add NPCM ECC documentation edac: npcm: Add Nuvoton NPCM7xx EDAC driver Isaac Kurth (1): ARM: dts: everest: Add 'factory-reset-toggle' as GPIOF6 Jae Hyun Yoo (1): clk: ast2600: enable BCLK for PCI/PCIe bus always Joel Stanley (4): net: ftgmac100: Ensure tx descriptor updates are visible ARM: dts: ast2600evb: Enable EHCI controller ARM: dts: aspeed: rainier: Enable earlycon ARM: configs: aspeed: Add openbmc kernel options Tomer Maimon (21): dt-binding: bmc: Add NPCM7xx LPC BPC documentation misc: npcm7xx-lpc-bpc: add NPCM7xx BIOS post code driver dt-binding: bmc: add npcm7xx pci mailbox document misc: mbox: add npcm7xx pci mailbox driver dt-binding: net: document NPCM7xx EMC DT bindings net: npcm: add NPCM7xx Ethernet MAC controller ARM: dts: npcm7xx: Add out of tree nodes ARM: dts: olympus: Add non-mainline nodes ARM: dts: npcm750: Add fuse regmap support node ARM: dts: npcm7xx: Link fuse syscon to adc and wdt clk: npcm7xx: add read only flag to divider clocks iio: adc: Add calibration support to npcm ADC watchdog: npcm: Add DT restart priority and reset type support pinctrl: npcm7xx: Add HGPIO pin support to NPCM7xx pinctrl driver pinctrl: pinconf: add pin persist configuration pinctrl: npcm7xx: Add pin persist configuration support spi: npcm-pspi: Add full duplex support dt-binding: bmc: add NPCM7XX JTAG master documentation misc: Add NPCM7xx JTAG master driver watchdog: npcm: Modify get reset status function ARM: configs: add defconfig for Nuvoton NPCM7xx BMC William A. Kennington III (1): net: npcm: Support for fixed PHYs Change-Id: I315000ab63c3f6a34d99cf25e366fa0781c85d46 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams1-1/+1
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current and the upcoming. Remove 'gatesgarth' is it is now 2 releases back. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
2021-08-11meta-nuvoton: Cleanup for Yocto override syntax changeWilly Tu5-12/+12
Cleanup with ``` convert-overrides.py meta-google ``` Left over `_`. ``` $ git grep "_[a-z0-9_/-]*[ :]" -- meta-nuvoton meta-nuvoton/conf/layer.conf:BBFILE_PATTERN_nuvoton-layer = "" meta-nuvoton/conf/layer.conf:LAYERVERSION_nuvoton-layer = "1" meta-nuvoton/conf/layer.conf:LAYERSERIES_COMPAT_nuvoton-layer = "gatesgarth hardknott" meta-nuvoton/conf/machine/include/nuvoton.inc:PREFERRED_PROVIDER_virtual/kernel ?= "linux-nuvoton" meta-nuvoton/conf/machine/include/nuvoton.inc:PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-nuvoton" meta-nuvoton/conf/machine/include/nuvoton.inc:PREFERRED_PROVIDER_u-boot ?= "u-boot-nuvoton" meta-nuvoton/conf/machine/include/nuvoton.inc:PREFERRED_PROVIDER_u-boot-fw-utils ?= "u-boot-fw-utils-nuvoton" meta-nuvoton/recipes-bsp/images/npcm7xx-bingo-native_git.bb:do_install () { meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.17.bb:do_deploy () { meta-nuvoton/recipes-bsp/images/npcm7xx-bootblock_10.10.17.bb:addtask deploy before do_build after do_compile meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb:SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities" meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb:do_compile () { meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: oe_runmake ${UBOOT_MACHINE} meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: oe_runmake envtools meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb:do_install () { meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb:do_install:class-cross () { meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_printenv meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: install -m 755 ${S}/tools/env/fw_printenv ${D}${bindir_cross}/fw_setenv meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_git.bb: sysroot_stage_dir ${D}${bindir_cross} ${SYSROOT_DESTDIR}${bindir_cross} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:do_configure () { meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B} oldconfig meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:do_compile () { meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B}/${config} ${config} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B}/${config} ${UBOOT_MAKE_TARGET} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc: oe_runmake -C ${S} O=${B} ${UBOOT_MAKE_TARGET} meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:do_install () { meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:do_deploy () { meta-nuvoton/recipes-bsp/u-boot/u-boot-nuvoton.inc:addtask deploy before do_build after do_compile ``` Change-Id: Ic6969f12049c0d843009c4b754ab87ecff568a07 Signed-off-by: Willy Tu <wltu@google.com>
2021-05-26meta-nuvoton: u-boot-nuvoton: srcrev bump 9033cd58bf...c11d9a81eaGeorge Hung1-1/+1
Stanley Chu (1): board: nuvoton: poleg: support eSPI configuration via dts Brandon-fii (1): Modified GPIOs in u-boot dts for kudo project to match the kernel dts George Hung (1): dts: npcm730 GBS: add event-clear for GPIO146 (fans-efuse) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I1f35885f74baf34915a7cd648941e2e82a701cf9
2021-05-07meta-nuvoton: Expand the reviewer poolJoel Stanley1-0/+5
Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I02eab06caacbd4d386bc6a40299a6066d07f9013 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-05-07linux-nuvoton: WPCM450 and spi fixJoel Stanley1-2/+2
The changes below were merged to mainline in v5.13 and have been backported to the openbmc dev-5.10 tree. This change brings Nuvoton up to the latest stable tree v5.10.30 and includes the following backported patches. Jonathan Neuschäfer (16): dt-bindings: serial: 8250: Add nuvoton,wpcm450-uart serial: 8250_of: Add nuvoton,wpcm450-uart dt-bindings: interrupt-controller: Add nuvoton, wpcm450-aic irqchip: Add driver for WPCM450 interrupt controller dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML ARM: dts: Add board-specific compatible string to npcm750-evb devicetree clocksource/drivers/npcm: Add support for WPCM450 dt-bindings: timer: nuvoton,npcm7xx: Add wpcm450-timer dt-bindings: vendor-prefixes: Add Supermicro dt-bindings: arm: npcm: Add nuvoton,wpcm450 compatible string dt-bindings: watchdog: npcm: Add nuvoton,wpcm450-wdt ARM: npcm: Introduce Nuvoton WPCM450 SoC watchdog: npcm: Add support for WPCM450 ARM: dts: Add devicetree for Nuvoton WPCM450 BMC chip ARM: dts: Add devicetree for Supermicro X9SCi-LN4F based on WPCM450 MAINTAINERS: Add entry for Nuvoton WPCM450 William A. Kennington III (1): spi: Fix use-after-free with devm_spi_alloc_* Change-Id: I29085374c54e7904852f0eb06206b5bb62104d1b Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-04-22meta-nuvoton: npcm7xx-bootblock: upgrade to 10.10.17George Hung1-1/+1
Changes: - Add retries to DDR training. - Disable MC ECC interrupts. - Add memory tests at the end of the DDR training. Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If05c27e7f1f5e6dec529accb3d67f0b8017756c2
2021-04-06hardknott: yocto releaseAndrew Geissler1-1/+1
Latest upstream yocto has moved on to the 3.3 hardknott release Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
2021-04-06linux-nuvoton: JFFS2 fix, Quanta GBS, NPCM Ethernet fixJoel Stanley1-1/+1
This moves to the latest commit in dev-5.10, which includes a fix for JFFS2 on overlayfs and adds the Quanta GBS machine. William A. Kennington III (2): net: npcm: Support for fixed PHYs net: npcm: Remove superfluous logging George Hung (1): ARM: dts: nuvoton: Add Quanta GBS BMC Device Tree Joel Stanley (1): jffs2: Hook up splice_write callback Change-Id: Ib3aa49a2e22c1bb3f7cef4d7bf70c2e6999d3f52 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-03-14linux-nuvoton: Move to v5.10.23 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.8.15 through to 5.10.23 stable releases. Change-Id: Ie54ff1f0e7f080661bd6f11b42c19cadcf14c56d Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-03-13meta-nuvoton: enable module signature verificationAnton D. Kachalov1-0/+2
Nuvoton targets requires loadable modules support. Add the following config options: * MODULE_SIG * MODULE_SIG_SHA512 Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: Ieb5382fa7087be6ecd118eeaea9b9372cb75b861
2021-03-13meta-nuvoton: update defconfigAnton D. Kachalov1-35/+19
Re-run "savedefconfig" for Nuvoton kernel. Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: Iaeaf49f4f3f1850ad971423ecdd957b89c8ff06f
2021-03-10meta-nuvoton: u-boot-nuvoton: srcrev bump c311158da2...9033cd58bfStanley Chu1-1/+1
Anton D. Kachalov (1): Fix u-boot build. Joseph Liu (1): configs: nuvoton: poleg: increase bootm map size Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I5b42fdb752835c0d478be5143125ddd5d31cc01b
2021-03-10meta-nuvoton: loadsvf: srcrev bump 69d077629d...f2296005cbStanley Chu1-1/+1
Stanley Chu (1): remove legacy IOCTLs The lastest jtag master driver has removed the unnecessary IOCTLS Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I0727e65da9b12808168f3f06655ff55a59e3b7c8
2021-02-18Revert "nuvoton: Enable seccomp support in kernel."Anton D. Kachalov1-2/+0
This reverts commit 6926f175f0a8099501ea2523f270db6be7049dcd. Reason for revert: Seccomp being enabled by default. Change-Id: I6ad97ebf37b79acfdee70d5cbbce2dd11b8bc061 Signed-off-by: Anton D. Kachalov <gmouse@google.com>
2021-02-18nuvoton: Enable seccomp support in kernel.Anton D. Kachalov1-0/+2
Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I5f6ef36e374b4b1d6f2cb50d6f7344fa801aa12a
2021-02-12nuvoton: add srcrev for npcm7xx-bootblock recipeAndrew Geissler1-0/+1
We appeared to be getting away with gsj machine build by utilizing sstate caches. A fresh build of gsj does not compile with the errors documented in openbmc/openbmc#3761. Resolves openbmc/openbmc#3761 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Id51643a6d341e9f079b33de66a8cee7f49b01225
2021-02-11linux-openbmc: Move to Linux 5.10Joel Stanley1-3/+3
This moves the OpenBMC kernel to a v5.10 base for both Aspeed and Nuvoton. There are 125 patches in the tree, with 80 of those patches not yet queued for merging in v5.11. Notably the PECI patchset has been dropped as the author, Intel, has elected to develop it out of tree instead of submitting it for mainline inclusion. The remaining out of tree patches: Alexander Amelkin (1): mtd: spi-nor: fix options for mx66l51235f Andrew Geissler (1): ARM: dts: tacoma: Add KCS node for LPC MCTP Andrew Jeffery (9): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): Use driver callbacks in pmbus_get_fan_rate() pmbus (core): One-shot retries for failure to set page pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers ARM: dts: aspeed: witherspoon: Update max31785 node misc: Add ASPEED KCS driver for MCTP purposes ARM: dts: witherspoon: Add KCS node for LPC MCTP ARM: dts: aspeed: rainier: Don't shout addresses Brad Bishop (3): ipmi: aspeed-g6: Add compatible strings reset: simple: Add AST2600 compatibility string eeprom: at25: Split reads into chunks and cap write size Cédric Le Goater (19): mtd: spi-nor: aspeed: use command mode for reads mtd: spi-nor: aspeed: add support for SPI dual IO read mode mtd: spi-nor: aspeed: link controller with the ahb clock mtd: spi-nor: aspeed: optimize read mode mtd: spi-nor: aspeed: limit the maximum SPI frequency mtd: spi-nor: aspeed: introduce a aspeed_smc_default_read() helper mtd: spi-nor: aspeed: clarify 4BYTE address mode mask mtd: spi-nor: aspeed: use memcpy_fromio() to capture the optimization buffer mtd: spi-nor: aspeed: add support for the 4B opcodes mtd: spi-nor: Add support for w25q512jv mtd: spi-nor: aspeed: Introduce a field for the AHB physical address mtd: spi-nor: aspeed: Introduce segment operations mtd: spi-nor: aspeed: add initial support for ast2600 mtd: spi-nor: aspeed: Check for disabled segments on the AST2600 mtd: spi-nor: aspeed: Introduce training operations per platform mtd: spi-nor: aspeed: Introduce a HCLK mask for training mtd: spi-nor: aspeed: check upper freq limit when doing training mtd: spi-nor: aspeed: add support for AST2600 training /dev/mem: add a devmem kernel parameter to activate the device Dan Carpenter (1): soc: aspeed: xdma: Return -EFAULT if copy_from_user() fails Eddie James (9): ARM: dts: rainier: Add KCS node for LPC MCTP ARM: dts: aspeed: Add witherspoon-128 machine dt-bindings: fsi: Add P10 OCC device documentation fsi: occ: Add support for P10 hwmon: (occ) Add new temperature sensor type dt-bindings: input: Add documentation for IBM Operation Panel input: misc: Add IBM Operation Panel driver ARM: dts: aspeed: rainier: Mark FSI SPI controllers as restricted ARM: dts: aspeed: Add Everest BMC machine Fran Hsu (2): ARM: dts: nuvoton: npcm730: Add UDC device ARM: dts: nuvoton: gsj: Add non-mainline nodes George Hung (2): dt-binding: edac: add NPCM ECC documentation edac: npcm: Add Nuvoton NPCM7xx EDAC driver George Liu (2): ARM: dts: aspeed: inspur-fp5280g2: Add GPIO line names ARM: dts: aspeed: inspur-fp5280g2: Add ipsps1 driver Jae Hyun Yoo (1): clk: ast2600: enable BCLK for PCI/PCIe bus always Joel Stanley (4): ARM: dts: aspeed: ast2600evb: Add MAC0 drm/aspeed: Add sysfs for output settings net: ftgmac100: Ensure tx descriptor updates are visible ARM: configs: aspeed: Update defconfigs Quan Nguyen (1): ARM: dts: aspeed: Add device tree for Ampere's Mt. Jade BMC Ryan Sie (1): ARM: dts: aspeed: Add Supermicro x11spi BMC machine Tomer Maimon (21): dt-binding: bmc: Add NPCM7xx LPC BPC documentation misc: npcm7xx-lpc-bpc: add NPCM7xx BIOS post code driver dt-binding: bmc: add npcm7xx pci mailbox document misc: mbox: add npcm7xx pci mailbox driver dt-binding: net: document NPCM7xx EMC DT bindings net: npcm: add NPCM7xx Ethernet MAC controller ARM: dts: npcm7xx: Add out of tree nodes ARM: dts: olympus: Add non-mainline nodes ARM: dts: npcm750: Add fuse regmap support node ARM: dts: npcm7xx: Link fuse syscon to adc and wdt clk: npcm7xx: add read only flag to divider clocks iio: adc: Add calibration support to npcm ADC watchdog: npcm: Add DT restart priority and reset type support pinctrl: npcm7xx: Add HGPIO pin support to NPCM7xx pinctrl driver pinctrl: pinconf: add pin persist configuration pinctrl: npcm7xx: Add pin persist configuration support spi: npcm-pspi: Add full duplex support dt-binding: bmc: add NPCM7XX JTAG master documentation misc: Add NPCM7xx JTAG master driver watchdog: npcm: Modify get reset status function ARM: configs: add defconfig for Nuvoton NPCM7xx BMC Troy Lee (3): dt-bindings: edac: aspeed-sdram-edac: Add ast2400/ast2600 support ARM: dts: aspeed: Add AST2600 edac into common devicetree edac: Supporting AST2400 and AST2600 edac driver Change-Id: I455ad0dfa67f7224f07b3999b7e3b50755490653 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-02-06meta-nuvoton: fix npcm750-evb buildAnton D. Kachalov1-3/+2
Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I02bfeccf158c8278034fec8642c00fe12fa89d23
2021-01-27u-boot-nuvoton: srcrev bump 6870e66f6b...c311158da2Stanley Chu1-1/+1
Avi Fishman (1): configs: npcm7xx: add CONFIG_MMC_SDHCI_SDMA=y Brian Ma (2): driver: pinctrl-npcm7xx: allow change gpio persist state cmd: add mcu command for update Runbmc MCU firmware Fii Firmware Team (1): add Fii kudo project dts & dtsi files Fran Hsu (2): dts:npcm730 GSZL add dts/pinctrl support. meta-gis: update quanta-gis DTS. Joseph Liu (1): driver: pinctrl: npcm7xx: fixs cannot enable gpio persist Medad CChien (1): NPCM750: SHA Hash Engine: Enable and Reset Module in hw_sha_init() Stanley Chu (1): driver: i2c-npcm7xx: do bus recovery when transfer has errors. jimliu2 (1): cmd: add gfx command for gfx test (From meta-nuvoton rev: 9be16ae7461763fe638546437b8bc6086031ccc7) Signed-off-by: Stanley Chu <yschu@nuvoton.com> Change-Id: I7fa6b25088618164d856ed27244d870588673907 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2021-01-21Add Owners Plugin to meta-nuvotonEd Tanous1-0/+2
Please see https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/39379 for details about why this is necessary. (From meta-nuvoton rev: 237db0807d1d7356974596140fd6c18ffa8f8eaf) Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: Iba16f21e4a2a0604ebf053cb5e4c120371755e73 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-31meta-nuvoton: npcm7xx-bootblock: upgrade to 10.10.16Benjamin Fair1-2/+1
Changelog from 10.10.09: * MC: Enhanced training optimization. * SPI0 frequency is now only limited to be up to 50MHz (remove 40MHz lower limit). This check is only performed if PLLs are changes (RUN_BMC or new header frequency values). * Fix an issue in INTCR3 settings (FIU_FIX field). * MC: in enhanced training: change the sweep range accrording to the location of the step. (run time optimization) (From meta-nuvoton rev: e7db9495062eab77a319e6eb322cdfe0f68719d8) Change-Id: I65a512a0110b183c5d9307aea1380cc914236d7d Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-20linux-nuvoton: Move to latest v5.8Joel Stanley1-2/+2
Includes addition of Fii Kudo device tree. (From meta-nuvoton rev: f525a14ffcd06c41c512565ace585910a36e2c02) Change-Id: I4e6b77655a94c71987af53c327b03e39063d38ed Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>