Skip to content

Commit 00b4668

Browse files
dleach02nashif
authored andcommitted
drivers: lpc55s36: Remove deprecated CSS driver
CSS was deprecated from the mcu-sdk. Removing driver from lpc55s36 to clear build error. This is a temporary patch to remove the build error. Fixes zephyrproject-rtos#69961 Signed-off-by: David Leach <[email protected]>
1 parent 424ea9f commit 00b4668

File tree

8 files changed

+1
-94
lines changed

8 files changed

+1
-94
lines changed

boards/nxp/lpcxpresso55s36/doc/index.rst

-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ already supported, which can also be re-used on this lpcxpresso55s36 board:
7777
+-----------+------------+-------------------------------------+
7878
| PWM | on-chip | pwm |
7979
+-----------+------------+-------------------------------------+
80-
| CSS | on-chip | entropy |
81-
+-----------+------------+-------------------------------------+
8280
| USB FS | on-chip | USB Full Speed device |
8381
+-----------+------------+-------------------------------------+
8482
| DAC | on-chip | dac |

boards/nxp/lpcxpresso55s36/lpcxpresso55s36.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,3 @@ supported:
2020
- pwm
2121
- dac
2222
vendor: nxp
23-
env: # Provisional hack to prevent tests being run in this board, as it fails in many test & samples
24-
- LPCXPRESSO55S36_TWISTER_ENABLE
25-
# Twister won't run tests in this board unless LPCXPRESSO55S36_TWISTER_ENABLE is set in the
26-
# environment, which it normally won't.
27-
# Once https://github.com/zephyrproject-rtos/zephyr/issues/69961 is fixed this should be removed

drivers/entropy/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ zephyr_library_sources_ifdef(CONFIG_ENTROPY_MCUX_RNG entropy_mcux_rng.
1111
zephyr_library_sources_ifdef(CONFIG_ENTROPY_MCUX_RNGA entropy_mcux_rnga.c)
1212
zephyr_library_sources_ifdef(CONFIG_ENTROPY_MCUX_TRNG entropy_mcux_trng.c)
1313
zephyr_library_sources_ifdef(CONFIG_ENTROPY_MCUX_CAAM entropy_mcux_caam.c)
14-
zephyr_library_sources_ifdef(CONFIG_ENTROPY_MCUX_CSS entropy_mcux_css.c)
1514
zephyr_library_sources_ifdef(CONFIG_ENTROPY_NRF5_RNG entropy_nrf5.c)
1615
zephyr_library_sources_ifdef(CONFIG_ENTROPY_SAM_RNG entropy_sam.c)
1716
zephyr_library_sources_ifdef(CONFIG_ENTROPY_SMARTBOND_TRNG entropy_smartbond.c)

drivers/entropy/Kconfig.mcux

-8
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,6 @@ config ENTROPY_MCUX_CAAM
4040
This option enables the CAAM driver based on the MCUX
4141
CAAM driver.
4242

43-
config ENTROPY_MCUX_CSS
44-
bool "MCUX CSS RNG driver"
45-
default y
46-
depends on DT_HAS_NXP_CSS_V2_ENABLED
47-
select ENTROPY_HAS_DRIVER
48-
help
49-
This option enables the driver for random number generation using
50-
the CSS (Crypto Subsystem).
5143
#
5244
# Don't use use the MCUX TRNG as a random source as it is not designed
5345
# to supply a continuous random stream. Instead, it is used to provide

drivers/entropy/entropy_mcux_css.c

-55
This file was deleted.

dts/arm/nxp/nxp_lpc55S3x_common.dtsi

-10
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
#include <mem.h>
1414

1515
/ {
16-
chosen {
17-
zephyr,entropy = &css;
18-
};
19-
2016
cpus {
2117
#address-cells = <1>;
2218
#size-cells = <0>;
@@ -270,12 +266,6 @@
270266
#size-cells = <0>;
271267
};
272268

273-
css: css@4003000 {
274-
compatible = "nxp,css-v2";
275-
reg = <0x4003000 0x200>;
276-
status = "okay";
277-
};
278-
279269
adc0: adc@A0000 {
280270
compatible = "nxp,lpc-lpadc";
281271
reg = <0xA0000 0x1000>;

dts/bindings/rng/nxp,css-v2.yaml

-12
This file was deleted.

west.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ manifest:
193193
groups:
194194
- hal
195195
- name: hal_nxp
196-
revision: 14160a1c14c06ce5a918cd550989555d832a636f
196+
revision: 4ab0e7bc9c44840cbb22a6dd74c214713f239182
197197
path: modules/hal/nxp
198198
groups:
199199
- hal

0 commit comments

Comments
 (0)