Re: [U-Boot] [PATCH 4/6] net: gmac_rockchip: Define the gmac grf register struct at gmac_rockchip.c

2017-09-27 Thread Joe Hershberger
On Thu, Sep 21, 2017 at 9:17 AM, David Wu wrote: > If we include both the rk3288_grf.h and rv1108_grf.h, there is a > number of compiling error for redefinition. So we define the reg > structs of mac_grf at gmac_rockchip.c. Remove the rk**_grf.h files, > give them own grf

[U-Boot] [PATCH 4/6] net: gmac_rockchip: Define the gmac grf register struct at gmac_rockchip.c

2017-09-21 Thread David Wu
If we include both the rk3288_grf.h and rv1108_grf.h, there is a number of compiling error for redefinition. So we define the reg structs of mac_grf at gmac_rockchip.c. Remove the rk**_grf.h files, give them own grf offset for their use. Signed-off-by: David Wu ---