Lars Kruse
3ce85ca54e
style: fix spelling in code comments and strings
2025-05-23 10:48:41 +08:00
dongjiuzhu1
34bde7b80a
qemu/armv7a: register cfi flash
...
Build Documentation / build-html (push) Has been cancelled
search the device tree and register cfi flash
test flowchart:
mount -t littlefs -o autoformat /dev/cfi-flash1 /data
fstest -m /data
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com >
2025-02-11 17:23:44 +08:00
chao an
7e96b0d934
drivers/devicetree: fix typo FDT_PCI_PREFTCH -> FDT_PCI_PREFETCH
...
should be FDT_PCI_PREFETCH
Signed-off-by: chao an <anchao.archer@bytedance.com >
2025-02-10 15:47:05 -03:00
chao an
afca1a819d
limits/path: replace CONFIG_PATH_MAX to PATH_MAX to ensure consistency
...
replace CONFIG_PATH_MAX to PATH_MAX to ensure consistency
Signed-off-by: chao an <anchao@lixiang.com >
2024-12-10 14:27:37 +08:00
lipengfei28
aa1df4e9a9
pci: fix pci dev alloc bridge mem error
...
Signed-off-by: lipengfei28 <lipengfei28@xiaomi.com >
2024-12-06 21:12:24 +08:00
lipengfei28
f589d5a4c7
pci: pci res have pci addr and cpu addr, ecam use map translation pci
...
addr to cpuaddr
Signed-off-by: lipengfei28 <lipengfei28@xiaomi.com >
2024-11-29 11:12:54 +08:00
Alin Jerpelea
286d37026c
drivers: migrate to SPDX identifier
...
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com >
2024-11-06 18:02:25 +08:00
ligd
6dc08ee681
pci: fix compile failed, fdt_get_reg_base() need 3 args
...
goldfish: fix compile failed, fdt_get_irq_by_path() need 4 args
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 02:18:49 +08:00
Bowen Wang
ba18f87a9e
devicetree/fdt: fix fdt_get_reg_size() get wrong size
...
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com >
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 02:18:49 +08:00
zhengyu9
323e2518d9
drivers/devicetree/fdt: get 'reg' property
...
Original code can only deal with single 'address & size' cell
Add function dealing with multiple 'address & size' cell
Add function getting 'bankwidth' property, for cfi-flash device
Signed-off-by: zhengyu9 <zhengyu9@xiaomi.com >
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-10-09 02:18:49 +08:00
Bowen Wang
e8467a9bd5
fdt_virtio_mmio: bug fix, should not return when ret == -ENODEV
...
-ENODEV is a normal error code for function virtio_register_mmio_device()
because the virtio device is not must be in the mmio register address
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com >
2024-10-08 08:15:00 +08:00
Bowen Wang
e83c7aba1c
devicetree/fdt_virtio_mmio: implement the fdt_virtio_mmio_devices_register()
...
So the borad level do not need implement the
register_virtio_devices_from_fdt() again and again.
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com >
2024-10-08 08:15:00 +08:00
Bowen Wang
23a4a23397
devicetree/fdt_pci: implement the fdt_pci_ecam_register()
...
So the borad level do not need implement the
pci_ecam_register_from_fdt() again and again.
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com >
2024-09-28 11:51:33 +08:00
Petro Karashchenko
d499ac9d58
nuttx: fix multiple 'FAR', 'CODE' and style issues
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com >
2024-08-25 19:22:15 +08:00
Stuart Ianna
39e6e25565
drivers/devicetree/fdt: add additional fdt parsing utilities.
...
These utilities remove some of the boilerplate needed for FDT parsing and device initialization.
2024-06-03 22:05:00 +08:00
Stuart Ianna
c4dbabb1bb
drivers/devicetree: Add a set of commonly used FDT utilities.
2024-05-09 01:37:11 +08:00
ligd
a1836de09a
fdt: move fdx_xx extend APIs from boards to drivers
...
Signed-off-by: ligd <liguiding1@xiaomi.com >
2024-03-22 18:51:33 +08:00
Brennan Ashton
46b0f6d6ee
fdt: Add initial FDT support and procfs for userspace export
...
VELAPLATFO-12536
This provides the initial hooks for Flattened Device Tree support
with QEMU RV. It also provides a new procfs file that exposes the
fdt to userspace much like the /sys/firmware/fdt endpoint in Linux.
See https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-firmware-ofw
Nodes in the fdt are not yet usable by the OS.
Signed-off-by: Brennan Ashton <bashton@brennanashton.com >
Signed-off-by: liaoao <liaoao@xiaomi.com >
2023-08-05 12:41:06 -07:00