CVS log for src/sys/arch/arm/fdt/arm_platform.c
Up to [cvs.NetBSD.org] / src / sys / arch / arm / fdt
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Apr 7 08:55:30 2023 UTC (20 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +14 -13
lines
Rename ARM_PLATFORM to FDT_PLATFORM and make it available outside arm.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Feb 25 08:19:35 2023 UTC (21 months, 2 weeks ago) by skrll
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +33 -3
lines
Restore the ability to have EARLYCONS work for the QEMU virt after
SOC_VIRT got removed.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:26 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -3
lines
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.
Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)
Remove unnecessary or redundant interface attributes where they're not
needed.
There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:16 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +3 -2
lines
Sync with HEAD.
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 21:21:07 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +2 -3
lines
- FDT device enumeration now sets the device handle using CFARG_DEVHANDLE.
- fdtbus_device_register() is now obsolete, so G/C it.
- of_device_register() is now obsolete, so G/C it.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Feb 4 22:36:53 2021 UTC (3 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -2
lines
Call acpi_device_register() / fdtbus_device_register() as approrpriate.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Sep 28 11:54:23 2020 UTC (4 years, 2 months ago) by jmcneill
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -4
lines
Get rid of a4x bus_space tag from fdtbus_attach_args. The only consumer
of this was various com(4) glue so modify all of that to use the new
com_init_regs_stride instead.
Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:29 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.1: +123 -0
lines
Merge changes from current as of 20200406
Revision 1.2.6.1
Mon Jan 6 08:29:08 2020 UTC (4 years, 11 months ago) by martin
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.2: +0 -123
lines
file arm_platform.c was added on branch phil-wifi on 2020-04-08 14:07:29 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jan 6 08:29:08 2020 UTC (4 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: phil-wifi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -4
lines
Fix DEVMAP build losage by reducing diffs between arm and aarch64
*sigh*
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jan 5 17:26:31 2020 UTC (4 years, 11 months ago) by jmcneill
Branches: MAIN
Make the generic Arm platform available for arm32 as well.
CVSweb <webmaster@jp.NetBSD.org>