History log of /freebsd-current/sys/arm/include/platformvar.h
Revision Date Author Comments
# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 966e7b05 19-Mar-2019 Michal Meloun <mmel@FreeBSD.org>

Use named field's initializer when constructing <foo>_platform structure.
In current code, the delay argument in FDT_PLATFORM_DEF(2) improperly
initialize refs field from kobj_class structure instead of delay_count
field.
This causes not working DELAY() function (due to never initialized
delay_count) in earlier boot stages, until the first timer was attached.

MFC after: 2 weeks


# 75f48c23 11-Jul-2017 Andrew Turner <andrew@FreeBSD.org>

Add external PLATFORM access on arm, and use it in the pl310 driver.

This allows multiple instances of SoCs that use the pl310 driver to be
built within the same kernel:

* Add access to the platform_t object from outside platform.c
* Use this with the pl310 driver

There is a new platform_pl310 interface to replace the existing code. SoCs
need to implement the init method, and if they have special requirements to
write to the two registers we care about will also need to implement the
write_ctrl and write_debug methods.

Differential Revision: https://reviews.freebsd.org/D11546


# 9ce763a0 07-Jul-2017 Andrew Turner <andrew@FreeBSD.org>

Remove the MULTIDELAY option from arm. It's now enabled when PLATFORM is
enabled.


# 12f7add9 25-Oct-2016 Andrew Turner <andrew@FreeBSD.org>

Remove the need for the delay to be zero when MULTIDELAY is undefined,
it may be useful to only enable this in some configs.

Sponsored by: ABT Systems Ltd


# 6c78e95a 29-Sep-2016 Andrew Turner <andrew@FreeBSD.org>

Remove struct platform_data, it was never used.

Sponsored by: ABT Systems Ltd


# cca48a59 30-Apr-2016 Andrew Turner <andrew@FreeBSD.org>

Add a MULTIDELAY option to allow the ARM kernel to have multiple DELAY
implementations. Early in the boot the kernel will use an approximate,
however after the timer has been probed it will switch to a more accurate
implementation.

Reviewed by: manu
Sponsored by: ABT Systems Ltd
Differential Revision: https://reviews.freebsd.org/D5762


# 87ff9820 17-May-2014 Andrew Turner <andrew@FreeBSD.org>

Add FDT_PLATFORM_DEF2 for when there are multiple platforms needing to use
the same platform methods.


# 27521ff8 17-May-2014 Andrew Turner <andrew@FreeBSD.org>

Add the start of the ARM platform code. This is based on the PowerPC
platform code, it is expected these will be merged in the future when the
ARM code is more complete.

Until more boards can be tested only use this with the Raspberry Pi and
rrename the functions on the other SoCs.

Reviewed by: ian@