[U-Boot-Users] tsec-small patch

Hi, I look at tsec driver and I found small code redundancy. Please look at the patch.
Best regards Michal Simek

In message 3423.3838-2497-885706863-1180609516@seznam.cz you wrote:
I look at tsec driver and I found small code redundancy. Please look at the patch.
Thanks, can you please resubmit in a proper format, i. e. including a usable Subject and your Signed-off-by: line?
Thanks!
Best regards,
Wolfgang Denk

No problem.
Subject: Cleanup tsec.h file. Put together TSEC_BASE_ADDR for MPC86xx, MPC85xx and MPC83xx Signed-off-by: Michal Simek monstr@monstr.eu
Best regards, Michal Simek
In message 3423.3838-2497-885706863-1180609516@seznam.cz you wrote:
I look at tsec driver and I found small code redundancy. Please look at the
patch.
Thanks, can you please resubmit in a proper format, i. e. including a usable Subject and your Signed-off-by: line?
Thanks!
Best regards,
Wolfgang Denk

Actually, I'm thinking you might as well eliminate the #ifdef stuff altogether. The tsec is only used on 83xx, 85xx, and 86xx, and any future part will surely use this definition:
#define TSEC_BASE_ADDR (CFG_IMMR + CFG_TSEC1_OFFSET)
participants (3)
-
Andy Fleming
-
Monstr@seznam.cz
-
Wolfgang Denk