]> Git Repo - J-u-boot.git/blobdiff - board/freescale/t102xqds/t102xqds.c
env: Rename some other getenv()-related functions
[J-u-boot.git] / board / freescale / t102xqds / t102xqds.c
index 1affa0b3a82896c88fcaa98929d333c928b67649..20374baf48c136c0949a928f81d425c5fbac10a1 100644 (file)
@@ -152,7 +152,7 @@ static int board_mux_lane_to_slot(void)
        return 0;
 }
 
-#ifdef CONFIG_PPC_T1024
+#ifdef CONFIG_ARCH_T1024
 static void board_mux_setup(void)
 {
        u8 brdcfg15;
@@ -332,7 +332,7 @@ unsigned long get_board_ddr_clk(void)
 #define NUM_SRDS_PLL   2
 int misc_init_r(void)
 {
-#ifdef CONFIG_PPC_T1024
+#ifdef CONFIG_ARCH_T1024
        board_mux_setup();
 #endif
        return 0;
@@ -363,8 +363,8 @@ int ft_board_setup(void *blob, bd_t *bd)
 
        ft_cpu_setup(blob, bd);
 
-       base = getenv_bootm_low();
-       size = getenv_bootm_size();
+       base = env_get_bootm_low();
+       size = env_get_bootm_size();
 
        fdt_fixup_memory(blob, (u64)base, (u64)size);
 
This page took 0.026644 seconds and 4 git commands to generate.