X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2FBarix%2Fipam390%2Fipam390.c;h=d203429738e3b84f345111c3933bcb04f6e57730;hb=5619295995e3262bb5770e8b5e945ffdc5442145;hp=ae88b4230a2deb384152c8edb36c8e22835a61a3;hpb=c0e5dd88c438a41bf180dde0c2dc4c67dcd8058d;p=u-boot diff --git a/board/Barix/ipam390/ipam390.c b/board/Barix/ipam390/ipam390.c index ae88b4230a..d203429738 100644 --- a/board/Barix/ipam390/ipam390.c +++ b/board/Barix/ipam390/ipam390.c @@ -20,15 +20,16 @@ #include #include #include -#include +#include #include #include #include #include -#include +#include #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; @@ -156,7 +157,7 @@ u32 get_board_rev(void) u32 maxcpuclk = CONFIG_DA850_EVM_MAX_CPU_CLK; u32 rev = 0; - s = getenv("maxcpuclk"); + s = env_get("maxcpuclk"); if (s) maxcpuclk = simple_strtoul(s, NULL, 10); @@ -188,9 +189,7 @@ int board_early_init_f(void) int board_init(void) { -#ifndef CONFIG_USE_IRQ irq_init(); -#endif /* arch number of the board */ gd->bd->bi_arch_number = MACH_TYPE_DAVINCI_DA850_EVM;