Commit f10834e166467ce153ec985421b9deb8d292410d
Exists in
v2017.01-smarct4x
and in
37 other branches
Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxx
Showing 3 changed files Side-by-side Diff
arch/powerpc/cpu/mpc5xxx/start.S
... | ... | @@ -76,6 +76,21 @@ |
76 | 76 | * been done in the SPL u-boot version. |
77 | 77 | */ |
78 | 78 | GET_GOT /* initialize GOT access */ |
79 | + | |
80 | + /* | |
81 | + * The GD (global data) struct needs to get cleared. Lets do | |
82 | + * this by calling memset(). | |
83 | + * This function is called when the platform is build with SPL | |
84 | + * support from the main (full-blown) U-Boot. And the GD needs | |
85 | + * to get cleared (again) so that the following generic | |
86 | + * board support code, defined via CONFIG_SYS_GENERIC_BOARD, | |
87 | + * initializes all variables correctly. | |
88 | + */ | |
89 | + mr r3, r2 /* parameter 1: GD pointer */ | |
90 | + li r4,0 /* parameter 2: value to fill */ | |
91 | + li r5,GD_SIZE /* parameter 3: count */ | |
92 | + bl memset | |
93 | + | |
79 | 94 | bl board_init_f /* run 1st part of board init code (in Flash)*/ |
80 | 95 | /* NOTREACHED - board_init_f() does not return */ |
81 | 96 | #else |
include/configs/a3m071.h
include/configs/a4m072.h
... | ... | @@ -19,6 +19,8 @@ |
19 | 19 | #define CONFIG_MPC5200 1 /* This is a MPC5200 CPU */ |
20 | 20 | #define CONFIG_A4M072 1 /* ... on A4M072 board */ |
21 | 21 | #define CONFIG_MPC5200_DDR 1 /* ... use DDR RAM */ |
22 | +#define CONFIG_DISPLAY_BOARDINFO | |
23 | +#define CONFIG_SYS_GENERIC_BOARD | |
22 | 24 | |
23 | 25 | #define CONFIG_SYS_TEXT_BASE 0xFE000000 |
24 | 26 |