X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=board%2Fesd%2Fdp405%2Fdp405.c;h=240ab78aa796e71f3b352543ec1ac846297087cb;hb=b86d7622b33892b1dafe761a7a9eaeeab9f3816b;hp=fd51f7f343e8fcd5af4356608201b63565b4a4a1;hpb=84bd92bdda05e6aaae3150ed6ef957b3a67398b7;p=platform%2Fkernel%2Fu-boot.git diff --git a/board/esd/dp405/dp405.c b/board/esd/dp405/dp405.c index fd51f7f..240ab78 100644 --- a/board/esd/dp405/dp405.c +++ b/board/esd/dp405/dp405.c @@ -26,6 +26,7 @@ #include #include +DECLARE_GLOBAL_DATA_PTR; /* fpga configuration data - not compressed, generated by bin2c */ const unsigned char fpgadata[] = @@ -84,8 +85,6 @@ int misc_init_f (void) int misc_init_r (void) { - DECLARE_GLOBAL_DATA_PTR; - /* adjust flash start and offset */ gd->bd->bi_flashstart = 0 - gd->bd->bi_flashsize; gd->bd->bi_flashoffset = 0;