The NetBSD Project

CVS log for src/sys/arch/arm/xilinx/zynq_platform.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / xilinx

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 7 08:55:31 2023 UTC (12 months, 1 week ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.10: +12 -12 lines
Diff to previous 1.10 (colored)

Rename ARM_PLATFORM to FDT_PLATFORM and make it available outside arm.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Oct 31 22:23:38 2022 UTC (17 months, 2 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: 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
Changes since 1.9: +20 -3 lines
Diff to previous 1.9 (colored)

Implement zynq_platform_reset()

Revision 1.9 / (download) - annotate - [select for diffs], Fri Oct 28 20:37:03 2022 UTC (17 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Retire PARALLELLA and ZEDBOARD kernel configs.

The Zynq-7000 port has been converted to Devicetree and is supported
by the GENERIC kernel now.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 27 20:37:10 2022 UTC (17 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.7: +9 -2 lines
Diff to previous 1.7 (colored)

Add OCM to devmap

Revision 1.7 / (download) - annotate - [select for diffs], Thu Oct 27 08:49:08 2022 UTC (17 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.6: +58 -6 lines
Diff to previous 1.6 (colored)

Add AP startup for Zynq-7000.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 25 22:59:10 2022 UTC (17 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.5: +2 -8 lines
Diff to previous 1.5 (colored)

Remove unnecessary code in zynq_platform_device_register

Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:29 2021 UTC (2 years, 11 months ago) by thorpej
Branch: 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, 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
Changes since 1.4: +2 -4 lines
Diff to previous 1.4 (colored)

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) - annotate - [select for diffs], Sat Apr 3 22:28:19 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 21:21:08 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.4: +2 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

- 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) - annotate - [select for diffs], Thu Feb 4 22:36:54 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

Call acpi_device_register() / fdtbus_device_register() as approrpriate.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 28 11:54:24 2020 UTC (3 years, 6 months ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.2: +2 -4 lines
Diff to previous 1.2 (colored)

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 / (download) - annotate - [select for diffs], Fri Jul 10 12:25:10 2020 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Add support for KASAN on ARMv[67]

Thanks to maxv for many pointers and reviews.

Revision 1.1.10.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:38 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.1.10.1: +201 -0 lines
Diff to previous 1.1.10.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.1.10.1, Tue Jun 11 13:01:48 2019 UTC (4 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.1: +0 -201 lines
FILE REMOVED

file zynq_platform.c was added on branch phil-wifi on 2020-04-13 08:03:38 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 11 13:01:48 2019 UTC (4 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, 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

Initial commit of FDTised Xilinx Zynq-7000 support.  Tested with

qemu-system-arm -M xilinx-zynq-a9 -dtb zynq-zed.dtb -kernel netbsd.ub \
    -serial /dev/null -serial stdio

Based on a set of diffs/files from rjs@

sys/arch/arm/zynq is kept in place to allow existing kernels (e.g.
ZEDBOARD and PARALLELLA) to continue to build/work during the transition,
but eventually sys/arch/arm/zynq will be deleted.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>