Home
last modified time | relevance | path

Searched hist:"72 c7884092684af4cc3c49e08f913b3ffed783ba" (Results 1 – 3 of 3) sorted by relevance

/rk3399_ARM-atf/plat/st/stm32mp1/include/
H A Dstm32mp1_smc.h72c7884092684af4cc3c49e08f913b3ffed783ba Tue Jan 14 13:03:39 UTC 2020 Nicolas Le Bayon <nicolas.le.bayon@st.com> fix(plat/st): correct BSEC error code management

BSEC services should return SMC error codes as other IDs (defined in
stm32mp1_smc.h) and not BSEC driver ones. So that non-secure caller
is able to treat them correctly.

In global SMC handler, unknown ID should also return a value from this
definition list, and not the generic one, which seems not well adapted
for our needs.

Two unsigned values initializations are also changed from 0 to 0U.

Change-Id: Ib6fd3866a748cefad1d13d48f7be38241621023e
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
/rk3399_ARM-atf/plat/st/stm32mp1/services/
H A Dbsec_svc.c72c7884092684af4cc3c49e08f913b3ffed783ba Tue Jan 14 13:03:39 UTC 2020 Nicolas Le Bayon <nicolas.le.bayon@st.com> fix(plat/st): correct BSEC error code management

BSEC services should return SMC error codes as other IDs (defined in
stm32mp1_smc.h) and not BSEC driver ones. So that non-secure caller
is able to treat them correctly.

In global SMC handler, unknown ID should also return a value from this
definition list, and not the generic one, which seems not well adapted
for our needs.

Two unsigned values initializations are also changed from 0 to 0U.

Change-Id: Ib6fd3866a748cefad1d13d48f7be38241621023e
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
H A Dstm32mp1_svc_setup.c72c7884092684af4cc3c49e08f913b3ffed783ba Tue Jan 14 13:03:39 UTC 2020 Nicolas Le Bayon <nicolas.le.bayon@st.com> fix(plat/st): correct BSEC error code management

BSEC services should return SMC error codes as other IDs (defined in
stm32mp1_smc.h) and not BSEC driver ones. So that non-secure caller
is able to treat them correctly.

In global SMC handler, unknown ID should also return a value from this
definition list, and not the generic one, which seems not well adapted
for our needs.

Two unsigned values initializations are also changed from 0 to 0U.

Change-Id: Ib6fd3866a748cefad1d13d48f7be38241621023e
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>