X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Ftsec.h;h=89c9091cffa1693881f819d098acfffec278d962;hb=e439af81804d15fd95f804205184a9ff3e15b72a;hp=1046426c5c1b89a8be2141089948c0c811e247bb;hpb=1a1326d2da9b2904bc90fb2990f829cb1ecef312;p=karo-tx-uboot.git diff --git a/include/tsec.h b/include/tsec.h index 1046426c5c..89c9091cff 100644 --- a/include/tsec.h +++ b/include/tsec.h @@ -20,10 +20,14 @@ #include #include #include -#include +#ifdef CONFIG_SOC_LS102XA +#define TSEC_SIZE 0x40000 +#define TSEC_MDIO_OFFSET 0x40000 +#else #define TSEC_SIZE 0x01000 #define TSEC_MDIO_OFFSET 0x01000 +#endif #define CONFIG_SYS_MDIO_BASE_ADDR (MDIO_BASE_ADDR + 0x520) @@ -125,9 +129,14 @@ #define MINFLR_INIT_SETTINGS 0x00000040 +#ifdef CONFIG_SOC_LS102XA +#define DMACTRL_INIT_SETTINGS 0x00000003 +#else #define DMACTRL_INIT_SETTINGS 0x000000c3 +#endif #define DMACTRL_GRS 0x00000010 #define DMACTRL_GTS 0x00000008 +#define DMACTRL_LE 0x00008000 #define TSTAT_CLEAR_THALT 0x80000000 #define RSTAT_CLEAR_RHALT 0x00800000