diff options
author | Simon Glass <sjg@chromium.org> | 2012-01-14 15:24:47 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-18 20:57:37 +0100 |
commit | 5dc887164e031dbd6544031eb4dcb8e5c4ddeb13 (patch) | |
tree | a34f1ace5187bf68d8203ce55cd21d7324e7e5ab /board/matrix_vision | |
parent | 5ddb118da4cbd34c3c8a0231dedad56ba504699f (diff) |
bootstage: Convert progress numbers 1-9 into enums
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/matrix_vision')
-rw-r--r-- | board/matrix_vision/common/mv_common.c | 2 | ||||
-rw-r--r-- | board/matrix_vision/mvbc_p/mvbc_p.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/matrix_vision/common/mv_common.c b/board/matrix_vision/common/mv_common.c index acb72c563c..7fde4acbf6 100644 --- a/board/matrix_vision/common/mv_common.c +++ b/board/matrix_vision/common/mv_common.c @@ -95,7 +95,7 @@ int mv_load_fpga(void) result = fpga_load(0, fpga_data, data_size); if (!result) - show_boot_progress(0); + show_boot_progress(BOOTSTAGE_ID_START); return result; } diff --git a/board/matrix_vision/mvbc_p/mvbc_p.c b/board/matrix_vision/mvbc_p/mvbc_p.c index 9dffedc9bd..a5dc2f0eb7 100644 --- a/board/matrix_vision/mvbc_p/mvbc_p.c +++ b/board/matrix_vision/mvbc_p/mvbc_p.c @@ -241,7 +241,7 @@ void show_boot_progress(int val) struct mpc5xxx_gpio *gpio = (struct mpc5xxx_gpio*)MPC5XXX_GPIO; switch(val) { - case 0: /* FPGA ok */ + case BOOTSTAGE_ID_START: /* FPGA ok */ setbits_be32(&gpio->simple_dvo, LED_G0); break; case 65: |